#596: only include openssl/fips.h for OpenSSL versions < 1.0.1

This commit is contained in:
Guenter Obiltschnig 2014-11-06 13:17:43 +01:00
parent 6741e90bba
commit 87f1d0f940

View File

@ -23,7 +23,8 @@
#include "Poco/Crypto/Crypto.h"
#include "Poco/Mutex.h"
#include <openssl/crypto.h>
#ifdef OPENSSL_FIPS
#include <openssl/opensslv.h>
#if defined(OPENSSL_FIPS) && OPENSSL_VERSION_NUMBER < 0x010001000L
#include <openssl/fips.h>
#endif