From 57665e722d712ec9a5feb581b6864888c1c2a331 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Mon, 5 Dec 2022 17:04:28 +0000 Subject: [PATCH] Remove obsolete openssl cleanup code --- lib/net_mosq.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/net_mosq.c b/lib/net_mosq.c index 6b5005ef..a0f0de05 100644 --- a/lib/net_mosq.c +++ b/lib/net_mosq.c @@ -160,7 +160,6 @@ void net__cleanup(void) is_tls_initialized = false; # endif - CONF_modules_unload(1); cleanup_ui_method(); #endif @@ -182,10 +181,6 @@ void net__init_tls(void) SSL_load_error_strings(); SSL_library_init(); OpenSSL_add_all_algorithms(); -# else - OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \ - | OPENSSL_INIT_ADD_ALL_DIGESTS \ - | OPENSSL_INIT_LOAD_CONFIG, NULL); # endif #if !defined(OPENSSL_NO_ENGINE) ENGINE_load_builtin_engines();