aboutsummaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorStefan Strogin <steils@gentoo.org>2019-07-03 18:49:07 +0300
committerAndreas Schneider <asn@cryptomilk.org>2019-07-04 17:57:35 +0200
commit0d4658740b4a7f94cdbbfaa6d4d7dbc047660d4c (patch)
treec2c6b3e4457da55cdeea62d7b6b0a6885029f162 /config.h.cmake
parentfed31c1ca3d2e3e178ca299cb0604631b1ee4894 (diff)
downloadlibssh-0d4658740b4a7f94cdbbfaa6d4d7dbc047660d4c.tar.gz
libssh-0d4658740b4a7f94cdbbfaa6d4d7dbc047660d4c.tar.xz
libssh-0d4658740b4a7f94cdbbfaa6d4d7dbc047660d4c.zip
libcrypto: fix compilation with LibreSSL
LibreSSL does not support FIPS mode, check for FIPS_mode() in ConfigureChecks.cmake. Signed-off-by: Stefan Strogin <steils@gentoo.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake3
1 files changed, 3 insertions, 0 deletions
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