diff options
author | Florian Stinglmayr <florian@n0la.org> | 2016-12-13 18:41:43 +0100 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2016-12-13 17:12:04 -0500 |
commit | d583ca7d922e5ac6ff466df2e4411b1303a3a2a3 (patch) | |
tree | ab5f6684583b4ae6e59e12f2978208621121fdb0 /configure.ac | |
parent | 1b760dd22bb6d4925c4aecd566041e0cb415e2d8 (diff) |
Use AC_CHECK_FUNCS to find functions not in LibreSSL
LibreSSL might not have all functions of OpenSSL 1.1.0 so use AC_CHECK_FUNCS to find them first before using them. Closes #1899 Fixes #1898
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 34e6defd..1f442c58 100644 --- a/configure.ac +++ b/configure.ac @@ -374,6 +374,8 @@ AS_IF([test "$openssl" != no], [ openssl=yes COMMON_LIBS="$COMMON_LIBS $OPENSSL_LIBS" COMMON_CFLAGS="$COMMON_CFLAGS $OPENSSL_CFLAGS" + dnl Test for various functions that are not available in LibreSSL + AC_CHECK_FUNCS([SSL_CTX_get_ssl_method X509_get_signature_nid]) ], [ unset openssl_path ac_cv_lib_ssl_SSL_new ac_cv_header_openssl_ssl_h AS_IF([test "$openssl" != yes], [ |