mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-15 06:35:25 +02:00
fixed #596: For OpenSSL 1.0.1, include openssl/crypto.h not openssl/fips.h
This commit is contained in:
parent
22f3ee8bee
commit
865943438b
@ -22,7 +22,7 @@
|
||||
|
||||
#include "Poco/Crypto/Crypto.h"
|
||||
#include "Poco/Mutex.h"
|
||||
#include <openssl/opensslconf.h>
|
||||
#include <openssl/crypto.h>
|
||||
#ifdef OPENSSL_FIPS
|
||||
#include <openssl/fips.h>
|
||||
#endif
|
||||
@ -109,6 +109,7 @@ inline void OpenSSLInitializer::enableFIPSMode(bool /*enabled*/)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
} } // namespace Poco::Crypto
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user