15 lines
561 B
Diff
15 lines
561 B
Diff
Reason: The OpenSSL_add_all_ciphers api doesn't was removed in OpenSSL 1.1
|
|
so we just replace the check with something that exists in OpenSSL and LibreSSL
|
|
|
|
--- a/xar/configure.ac
|
|
+++ b/xar/configure.ac
|
|
@@ -329,7 +329,7 @@
|
|
dnl
|
|
have_libcrypto="1"
|
|
AC_CHECK_HEADERS([openssl/evp.h], , [have_libcrypto="0"])
|
|
-AC_CHECK_LIB([crypto], [OpenSSL_add_all_ciphers], , [have_libcrypto="0"])
|
|
+AC_CHECK_LIB([crypto], [OPENSSL_init_crypto], , [have_libcrypto="0"])
|
|
if test "x${have_libcrypto}" = "x0" ; then
|
|
AC_MSG_ERROR([Cannot build without libcrypto (OpenSSL)])
|
|
fi
|