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_server.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_server.c')
-rw-r--r-- | src/usr.bin/openssl/s_server.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/usr.bin/openssl/s_server.c b/src/usr.bin/openssl/s_server.c index 95fe633ef1..328ac28ab5 100644 --- a/src/usr.bin/openssl/s_server.c +++ b/src/usr.bin/openssl/s_server.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: s_server.c,v 1.58 2023/07/03 08:03:56 beck Exp $ */ | 1 | /* $OpenBSD: s_server.c,v 1.59 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 | * |
@@ -1548,7 +1548,6 @@ sv_body(int s, unsigned char *context) | |||
1548 | /* SSL_set_fd(con,s); */ | 1548 | /* SSL_set_fd(con,s); */ |
1549 | 1549 | ||
1550 | if (cfg.debug) { | 1550 | if (cfg.debug) { |
1551 | SSL_set_debug(con, 1); | ||
1552 | BIO_set_callback(SSL_get_rbio(con), bio_dump_callback); | 1551 | BIO_set_callback(SSL_get_rbio(con), bio_dump_callback); |
1553 | BIO_set_callback_arg(SSL_get_rbio(con), (char *) bio_s_out); | 1552 | BIO_set_callback_arg(SSL_get_rbio(con), (char *) bio_s_out); |
1554 | } | 1553 | } |
@@ -1949,7 +1948,6 @@ www_body(int s, unsigned char *context) | |||
1949 | BIO_push(io, ssl_bio); | 1948 | BIO_push(io, ssl_bio); |
1950 | 1949 | ||
1951 | if (cfg.debug) { | 1950 | if (cfg.debug) { |
1952 | SSL_set_debug(con, 1); | ||
1953 | BIO_set_callback(SSL_get_rbio(con), bio_dump_callback); | 1951 | BIO_set_callback(SSL_get_rbio(con), bio_dump_callback); |
1954 | BIO_set_callback_arg(SSL_get_rbio(con), (char *) bio_s_out); | 1952 | BIO_set_callback_arg(SSL_get_rbio(con), (char *) bio_s_out); |
1955 | } | 1953 | } |