From babb3323a9b758848d4756d3ea704a02aa7f586f Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 29 Dec 2023 12:15:49 +0000 Subject: 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 --- src/usr.bin/openssl/s_server.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/usr.bin/openssl/s_server.c') 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 @@ -/* $OpenBSD: s_server.c,v 1.58 2023/07/03 08:03:56 beck Exp $ */ +/* $OpenBSD: s_server.c,v 1.59 2023/12/29 12:15:49 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1548,7 +1548,6 @@ sv_body(int s, unsigned char *context) /* SSL_set_fd(con,s); */ if (cfg.debug) { - SSL_set_debug(con, 1); BIO_set_callback(SSL_get_rbio(con), bio_dump_callback); BIO_set_callback_arg(SSL_get_rbio(con), (char *) bio_s_out); } @@ -1949,7 +1948,6 @@ www_body(int s, unsigned char *context) BIO_push(io, ssl_bio); if (cfg.debug) { - SSL_set_debug(con, 1); BIO_set_callback(SSL_get_rbio(con), bio_dump_callback); BIO_set_callback_arg(SSL_get_rbio(con), (char *) bio_s_out); } -- cgit v1.2.3-55-g6feb