Skip to content

Commit

Permalink
fix(OpenSSLInitializer): remove providers unitialization #3562 #3567
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-f committed Jul 28, 2022
1 parent 92fac97 commit 2934c38
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions Crypto/src/OpenSSLInitializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 2934c38

Please sign in to comment.