fixed #596: For OpenSSL 1.0.1, include openssl/crypto.h not openssl/fips.h

This commit is contained in:
Guenter Obiltschnig 2014-11-06 11:16:33 +01:00
parent 22f3ee8bee
commit 865943438b

View File

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