From 02b7fbf10b56c690e94c92c7bf71f19a9c435cf8 Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 13 Jan 2024 17:50:01 +0000 Subject: [PATCH] BIO_f_ssl.3: Remove explicit library initialization --- lib/libssl/man/BIO_f_ssl.3 | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/libssl/man/BIO_f_ssl.3 b/lib/libssl/man/BIO_f_ssl.3 index ed268167794..5d72def20d5 100644 --- a/lib/libssl/man/BIO_f_ssl.3 +++ b/lib/libssl/man/BIO_f_ssl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BIO_f_ssl.3,v 1.14 2023/04/11 16:58:43 schwarze Exp $ +.\" $OpenBSD: BIO_f_ssl.3,v 1.15 2024/01/13 17:50:01 tb Exp $ .\" full merge up to: OpenSSL f672aee4 Feb 9 11:52:40 2016 -0500 .\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 .\" @@ -50,7 +50,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: April 11 2023 $ +.Dd $Mdocdate: January 13 2024 $ .Dt BIO_F_SSL 3 .Os .Sh NAME @@ -491,12 +491,6 @@ char tmpbuf[1024]; SSL_CTX *ctx; SSL *ssl; -ERR_load_crypto_strings(); -ERR_load_SSL_strings(); -OpenSSL_add_all_algorithms(); - -/* Might seed PRNG here */ - ctx = SSL_CTX_new(SSLv23_server_method()); if (!SSL_CTX_use_certificate_file(ctx,"server.pem",SSL_FILETYPE_PEM) -- 2.20.1