mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-26 16:32:45 +01:00
fix haveLegacyProvider for OpenSSL < 3
This commit is contained in:
parent
b0d7f9bd79
commit
0bf69ab832
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user