replace deprecated OPENSSL_config()

This commit is contained in:
Guenter Obiltschnig 2020-01-09 19:03:54 +00:00
parent 988c16aebc
commit d4077125cf

View File

@ -85,7 +85,9 @@ void OpenSSLInitializer::initialize()
{
if (++_rc == 1)
{
#if OPENSSL_VERSION_NUMBER >= 0x0907000L
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
CONF_modules_load(NULL, NULL, 0);
#elif OPENSSL_VERSION_NUMBER >= 0x0907000L
OPENSSL_config(NULL);
#endif
SSL_library_init();