mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-24 14:19:08 +01:00
fix haveLegacyProvider for OpenSSL < 3
This commit is contained in:
@@ -128,7 +128,11 @@ inline void OpenSSLInitializer::enableFIPSMode(bool /*enabled*/)
|
||||
|
||||
inline bool OpenSSLInitializer::haveLegacyProvider()
|
||||
{
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x30000000L
|
||||
return _legacyProvider != nullptr;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user