From 55252e4d70ecf58afccf6326091ea4dad66bc01f Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Fri, 9 Jun 2017 22:47:36 +0200 Subject: libcrypto: disable AES-NI engine when running inside valgrind Valgrind detects many uninitialized memory false positives from libcrypto's AES-NI internals. Roll back to software AES when running tests. Signed-off-by: Aris Adamantiadis Reviewed-by: Jakub Jelen Reviewed-by: Andreas Schneider --- config.h.cmake | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config.h.cmake') diff --git a/config.h.cmake b/config.h.cmake index e5f92043..f3660c78 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -23,6 +23,9 @@ /* Define to 1 if you have the header file. */ #cmakedefine HAVE_GLOB_H 1 +/* Define to 1 if you have the header file. */ +#cmakedefine HAVE_VALGRIND_VALGRIND_H 1 + /* Define to 1 if you have the header file. */ #cmakedefine HAVE_PTY_H 1 @@ -112,6 +115,9 @@ /* Define to 1 if you have the `EVP_CIPHER_CTX_new' function. */ #cmakedefine HAVE_OPENSSL_EVP_CIPHER_CTX_NEW 1 +/* Define to 1 if you have the `OPENSSL_ia32cap_loc' function. */ +#cmakedefine HAVE_OPENSSL_IA32CAP_LOC 1 + /* Define to 1 if you have the `snprintf' function. */ #cmakedefine HAVE_SNPRINTF 1 -- cgit v1.2.3