diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2017-06-09 22:47:36 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-11-21 16:54:36 +0100 |
commit | 55252e4d70ecf58afccf6326091ea4dad66bc01f (patch) | |
tree | 56e6c9e2e01dc488cd268631077c3898e6f564d5 /config.h.cmake | |
parent | 8e002b94153a93c0bcb670acced888cc2d521394 (diff) | |
download | libssh-55252e4d70ecf58afccf6326091ea4dad66bc01f.tar.gz libssh-55252e4d70ecf58afccf6326091ea4dad66bc01f.tar.xz libssh-55252e4d70ecf58afccf6326091ea4dad66bc01f.zip |
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 <aris@0xbadc0de.be>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
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 <glob.h> header file. */ #cmakedefine HAVE_GLOB_H 1 +/* Define to 1 if you have the <valgrind/valgrind.h> header file. */ +#cmakedefine HAVE_VALGRIND_VALGRIND_H 1 + /* Define to 1 if you have the <pty.h> 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 |