mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +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:
parent
03530311b8
commit
5654749e2b
@ -14,6 +14,7 @@ Release 1.5.2 (2013-03-??)
|
|||||||
- automatic library initialization macros
|
- automatic library initialization macros
|
||||||
- fixed GH #110: WebSocket accept() fails when Connection header contains multiple tokens
|
- fixed GH #110: WebSocket accept() fails when Connection header contains multiple tokens
|
||||||
- fixed GH# 71: WebSocket and broken Timeouts (POCO_BROKEN_TIMEOUTS)
|
- 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)
|
Release 1.5.1 (2013-01-11)
|
||||||
==========================
|
==========================
|
||||||
|
@ -118,14 +118,16 @@ inline bool OpenSSLInitializer::isFIPSEnabled()
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef OPENSSL_FIPS
|
||||||
inline void OpenSSLInitializer::enableFIPSMode(bool enabled)
|
inline void OpenSSLInitializer::enableFIPSMode(bool enabled)
|
||||||
{
|
{
|
||||||
#ifdef OPENSSL_FIPS
|
|
||||||
FIPS_mode_set(enabled);
|
FIPS_mode_set(enabled);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
inline void OpenSSLInitializer::enableFIPSMode(bool /*enabled*/)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
} } // namespace Poco::Crypto
|
} } // namespace Poco::Crypto
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user