libcrypto: Fix checking for config.h defines

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2018-11-21 18:17:56 +01:00
parent 55252e4d70
commit 21881cde34

View File

@@ -58,7 +58,7 @@
#define OLD_CRYPTO
#endif
#if (HAVE_VALGRIND_VALGRIND_H && HAVE_OPENSSL_IA32CAP_LOC)
#if (defined(HAVE_VALGRIND_VALGRIND_H) && defined(HAVE_OPENSSL_IA32CAP_LOC))
#include <valgrind/valgrind.h>
#define CAN_DISABLE_AESNI
#endif