From: Joerg Sonnenberger Date: Tue, 21 Jun 2016 13:12:20 +0000 (+0200) Subject: In the past, OpenSSL was not needed by the main libarchive when the hash X-Git-Tag: v3.2.2~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f593e0385a6ebe928ea4864beff2dc694e1720d2;p=thirdparty%2Flibarchive.git In the past, OpenSSL was not needed by the main libarchive when the hash functions were provided by libc, e.g. on NetBSD. With the introduction of the de-/encryption support, this is no longer the case. As such, explicitly check for the necessary EVP routines as well to make sure that -lcrypto is added as necessary. --- diff --git a/configure.ac b/configure.ac index 2fc42957f..64775fa63 100644 --- a/configure.ac +++ b/configure.ac @@ -846,6 +846,7 @@ if test "x$with_openssl" != "xno"; then else AC_CHECK_FUNCS([PKCS5_PBKDF2_HMAC_SHA1]) fi + AC_CHECK_LIB(crypto,EVP_CIPHER_CTX_init) fi # Probe libmd AFTER OpenSSL/libcrypto.