From 0d4658740b4a7f94cdbbfaa6d4d7dbc047660d4c Mon Sep 17 00:00:00 2001 From: Stefan Strogin Date: Wed, 3 Jul 2019 18:49:07 +0300 Subject: libcrypto: fix compilation with LibreSSL LibreSSL does not support FIPS mode, check for FIPS_mode() in ConfigureChecks.cmake. Signed-off-by: Stefan Strogin Reviewed-by: Jakub Jelen --- config.h.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.h.cmake') diff --git a/config.h.cmake b/config.h.cmake index c2590fdc..832f59e6 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -120,6 +120,9 @@ /* Define to 1 if you have the `EVP_KDF_CTX_new_id' function. */ #cmakedefine HAVE_OPENSSL_EVP_KDF_CTX_NEW_ID 1 +/* Define to 1 if you have the `FIPS_mode' function. */ +#cmakedefine HAVE_OPENSSL_FIPS_MODE 1 + /* Define to 1 if you have the `OPENSSL_ia32cap_loc' function. */ #cmakedefine HAVE_OPENSSL_IA32CAP_LOC 1 -- cgit v1.2.3