From: Nikolai Kondrashov Date: Fri, 18 Nov 2016 18:09:05 +0000 (+0200) Subject: Do not use OPENSSL_config X-Git-Tag: release_3_0_13~92^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d97195167928ae357b7e8a3840733bbd99fa630;p=thirdparty%2Ffreeradius-server.git Do not use OPENSSL_config Switch to using CONF_modules_load_file instead of OPENSSL_config, which was deprecated in OpenSSL 1.1 and would produce build warnings. --- diff --git a/src/main/tls.c b/src/main/tls.c index 1a3767405b7..0f983d1362d 100644 --- a/src/main/tls.c +++ b/src/main/tls.c @@ -2456,7 +2456,7 @@ void tls_global_init(void) SSL_load_error_strings(); /* readable error messages (examples show call before library_init) */ SSL_library_init(); /* initialize library */ OpenSSL_add_all_algorithms(); /* required for SHA2 in OpenSSL < 0.9.8o and 1.0.0.a */ - OPENSSL_config(NULL); + CONF_modules_load_file(NULL, NULL, 0); /* * Initialize the index for the certificates.