aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-11-21 18:17:56 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-11-21 18:17:56 +0100
commit21881cde34acd67302af633fe97547b2857483a1 (patch)
tree52285d18d7e62dd973042708a0fd0c66c80cf093
parent55252e4d70ecf58afccf6326091ea4dad66bc01f (diff)
downloadlibssh-21881cde34acd67302af633fe97547b2857483a1.tar.gz
libssh-21881cde34acd67302af633fe97547b2857483a1.tar.xz
libssh-21881cde34acd67302af633fe97547b2857483a1.zip
libcrypto: Fix checking for config.h defines
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--src/libcrypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcrypto.c b/src/libcrypto.c
index b9b45f64..588c4493 100644
--- a/src/libcrypto.c
+++ b/src/libcrypto.c
@@ -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