mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-17 01:15:59 +01:00
fixed warning in Poco/Crypto/OpenSSLInitializer.h
- fixed a warning in Poco/Crypto/OpenSSLInitializer.h (fix ported from 1.4.6)
This commit is contained in:
@@ -118,14 +118,16 @@ inline bool OpenSSLInitializer::isFIPSEnabled()
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
#ifdef OPENSSL_FIPS
|
||||
inline void OpenSSLInitializer::enableFIPSMode(bool enabled)
|
||||
{
|
||||
#ifdef OPENSSL_FIPS
|
||||
FIPS_mode_set(enabled);
|
||||
#endif
|
||||
}
|
||||
|
||||
#else
|
||||
inline void OpenSSLInitializer::enableFIPSMode(bool /*enabled*/)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
} } // namespace Poco::Crypto
|
||||
|
||||
|
||||
Reference in New Issue
Block a user