View | Details | Raw Unified | Return to bug 272232
Collapse All | Expand All

(-)b/dns/powerdns-recursor/files/patch-m4_pdns__check__libcrypto.m4 (-1 / +10 lines)
Lines 1-4 Link Here
1
--- m4/pdns_check_libcrypto.m4.orig	2020-11-16 16:30:04 UTC
1
--- m4/pdns_check_libcrypto.m4.orig	2023-03-27 15:08:37 UTC
2
+++ m4/pdns_check_libcrypto.m4
2
+++ m4/pdns_check_libcrypto.m4
3
@@ -75,8 +75,10 @@ AC_DEFUN([PDNS_CHECK_LIBCRYPTO], [
3
@@ -75,8 +75,10 @@ AC_DEFUN([PDNS_CHECK_LIBCRYPTO], [
4
         for ssldir in $ssldirs; do
4
         for ssldir in $ssldirs; do
Lines 13-15 Link Here
13
                 LIBCRYPTO_LIBS="-lcrypto"
13
                 LIBCRYPTO_LIBS="-lcrypto"
14
                 found=true
14
                 found=true
15
                 AC_MSG_RESULT([yes])
15
                 AC_MSG_RESULT([yes])
16
@@ -108,7 +110,7 @@ AC_DEFUN([PDNS_CHECK_LIBCRYPTO], [
17
     LIBS="$LIBCRYPTO_LIBS $LIBS"
18
     CPPFLAGS="$LIBCRYPTO_INCLUDES $CPPFLAGS"
19
     AC_LINK_IFELSE(
20
-        [AC_LANG_PROGRAM([#include <openssl/crypto.h>], [ERR_load_CRYPTO_strings()])],
21
+        [AC_LANG_PROGRAM([#include <openssl/bn.h>], [BN_new()])],
22
         [
23
             AC_MSG_RESULT([yes])
24
             AC_CHECK_FUNCS([RAND_bytes RAND_pseudo_bytes CRYPTO_memcmp OPENSSL_init_crypto EVP_MD_CTX_new EVP_MD_CTX_free RSA_get0_key])

Return to bug 272232