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:
aleks-f 2013-02-26 22:43:36 -06:00
parent 03530311b8
commit 5654749e2b
2 changed files with 7 additions and 4 deletions

View File

@ -14,6 +14,7 @@ Release 1.5.2 (2013-03-??)
- automatic library initialization macros
- fixed GH #110: WebSocket accept() fails when Connection header contains multiple tokens
- fixed GH# 71: WebSocket and broken Timeouts (POCO_BROKEN_TIMEOUTS)
- fixed a warning in Poco/Crypto/OpenSSLInitializer.h
Release 1.5.1 (2013-01-11)
==========================

View File

@ -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