Skip to content

Commit

Permalink
Merge litecoin-project#433: Make the libcrypto detection fail the new…
Browse files Browse the repository at this point in the history
…er API.

12de863 Make the libcrypto detection fail the newer API. (Gregory Maxwell)
  • Loading branch information
sipa committed Dec 12, 2016
2 parents 2928420 + 12de863 commit 8225239
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build-aux/m4/bitcoin_secp.m4
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ if test x"$has_libcrypto" = x"yes" && test x"$has_openssl_ec" = x; then
ECDSA_sign(0, NULL, 0, NULL, NULL, eckey);
ECDSA_verify(0, NULL, 0, NULL, 0, eckey);
EC_KEY_free(eckey);
ECDSA_SIG *sig_openssl;
sig_openssl = ECDSA_SIG_new();
(void)sig_openssl->r;
ECDSA_SIG_free(sig_openssl);
]])],[has_openssl_ec=yes],[has_openssl_ec=no])
AC_MSG_RESULT([$has_openssl_ec])
fi
Expand Down

0 comments on commit 8225239

Please sign in to comment.