diff options
author | tb <> | 2023-12-29 12:15:49 +0000 |
---|---|---|
committer | tb <> | 2023-12-29 12:15:49 +0000 |
commit | babb3323a9b758848d4756d3ea704a02aa7f586f (patch) | |
tree | 7bbf1b52c13df23cd1d6db518e3ad4a3f8f7aacd /src/usr.bin/openssl/s_client.c | |
parent | 3bb20b5309c2ee7a1cffbae029be5dbf4306a10b (diff) | |
download | openbsd-babb3323a9b758848d4756d3ea704a02aa7f586f.tar.gz openbsd-babb3323a9b758848d4756d3ea704a02aa7f586f.tar.bz2 openbsd-babb3323a9b758848d4756d3ea704a02aa7f586f.zip |
Garbage collect the last users of SSL_set_debug(3)
This undocumented, incomplete public function has never done anything
useful. It will be removed from libssl. Removing it from openssl(1)
clears the way for this.
ok jsing
Diffstat (limited to 'src/usr.bin/openssl/s_client.c')
-rw-r--r-- | src/usr.bin/openssl/s_client.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/s_client.c b/src/usr.bin/openssl/s_client.c index d993f51636..299042c59a 100644 --- a/src/usr.bin/openssl/s_client.c +++ b/src/usr.bin/openssl/s_client.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: s_client.c,v 1.63 2023/12/29 12:06:48 tb Exp $ */ | 1 | /* $OpenBSD: s_client.c,v 1.64 2023/12/29 12:15:49 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -1125,7 +1125,6 @@ s_client_main(int argc, char **argv) | |||
1125 | sbio = BIO_push(test, sbio); | 1125 | sbio = BIO_push(test, sbio); |
1126 | } | 1126 | } |
1127 | if (cfg.debug) { | 1127 | if (cfg.debug) { |
1128 | SSL_set_debug(con, 1); | ||
1129 | BIO_set_callback(sbio, bio_dump_callback); | 1128 | BIO_set_callback(sbio, bio_dump_callback); |
1130 | BIO_set_callback_arg(sbio, (char *) bio_c_out); | 1129 | BIO_set_callback_arg(sbio, (char *) bio_c_out); |
1131 | } | 1130 | } |