From: tb Date: Wed, 22 Nov 2023 15:49:47 +0000 (+0000) Subject: Stop calling SSL_library_init() from OPENSSL_init_ssl_internal() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0585d032f480105d1d8c446ab466947bf16db495;p=openbsd Stop calling SSL_library_init() from OPENSSL_init_ssl_internal() It's pointless: all the ciphers and digests added by SSL_library_init() are already added by OPENSSL_init_crypto(), which was already called at that point. ok jsing --- diff --git a/lib/libssl/ssl_init.c b/lib/libssl/ssl_init.c index a8646cc092a..7df48fb6a0f 100644 --- a/lib/libssl/ssl_init.c +++ b/lib/libssl/ssl_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_init.c,v 1.4 2023/07/08 16:40:13 beck Exp $ */ +/* $OpenBSD: ssl_init.c,v 1.5 2023/11/22 15:49:47 tb Exp $ */ /* * Copyright (c) 2018 Bob Beck * @@ -31,7 +31,6 @@ OPENSSL_init_ssl_internal(void) { ssl_init_thread = pthread_self(); SSL_load_error_strings(); - SSL_library_init(); } int