From 0585d032f480105d1d8c446ab466947bf16db495 Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 22 Nov 2023 15:49:47 +0000 Subject: [PATCH] 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 --- lib/libssl/ssl_init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.20.1