From e32e4a4963f32ea6160998956a9ffbedb7f17164 Mon Sep 17 00:00:00 2001 From: Steffen Nurpmeso Date: Tue, 9 May 2023 00:53:26 +0200 Subject: [PATCH] a_xtls_init(): OPENSSL_init_ssl(): set OPENSSL_INIT_NO_LOAD_CONFIG #ifdef --- src/mx/xtls.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/mx/xtls.c b/src/mx/xtls.c index 6268107a..6d9fa6e0 100644 --- a/src/mx/xtls.c +++ b/src/mx/xtls.c @@ -587,9 +587,17 @@ a_xtls_init(void){ OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS | OPENSSL_INIT_LOAD_CRYPTO_STRINGS # ifdef mx_HAVE_TLS_ALL_ALGORITHMS - | OPENSSL_INIT_ADD_ALL_CIPHERS | OPENSSL_INIT_ADD_ALL_DIGESTS +# ifdef OPENSSL_INIT_ADD_ALL_CIPHERS + | OPENSSL_INIT_ADD_ALL_CIPHERS +# endif +# ifdef OPENSSL_INIT_ADD_ALL_DIGESTS + | OPENSSL_INIT_ADD_ALL_DIGESTS +# endif +# endif +# ifdef OPENSSL_INIT_NO_LOAD_CONFIG + | OPENSSL_INIT_NO_LOAD_CONFIG # endif - , NULL); + , NIL); #else SSL_load_error_strings(); SSL_library_init(); -- 2.11.4.GIT