Lines 12-24
Link Here
|
12 |
+ fi |
12 |
+ fi |
13 |
LIBCRYPTO_LIBS="-lcrypto" |
13 |
LIBCRYPTO_LIBS="-lcrypto" |
14 |
found=true |
14 |
found=true |
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]) |