From 2934c38b994b27b663a899ee71a0f58a88d8a5ae Mon Sep 17 00:00:00 2001 From: Alex Fabijanic Date: Wed, 13 Jul 2022 12:53:52 +0200 Subject: [PATCH] fix(OpenSSLInitializer): remove providers unitialization #3562 #3567 --- Crypto/src/OpenSSLInitializer.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Crypto/src/OpenSSLInitializer.cpp b/Crypto/src/OpenSSLInitializer.cpp index 4678d22299..c537c3f9c2 100644 --- a/Crypto/src/OpenSSLInitializer.cpp +++ b/Crypto/src/OpenSSLInitializer.cpp @@ -157,18 +157,6 @@ void OpenSSLInitializer::uninitialize() #endif delete [] _mutexes; #endif - -#if OPENSSL_VERSION_NUMBER >= 0x30000000L - OSSL_PROVIDER* provider = nullptr; - if ((provider = _defaultProvider.exchange(nullptr))) - { - OSSL_PROVIDER_unload(provider); - } - if ((provider = _legacyProvider.exchange(nullptr))) - { - OSSL_PROVIDER_unload(provider); - } -#endif } }