aboutsummaryrefslogtreecommitdiff
path: root/src/secp256k1/build-aux
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-12-12 11:08:47 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2016-12-12 11:08:47 -0800
commit547a53d13507b3348d216d82353e0d6a9d8fa974 (patch)
tree113b853b342ee4c67b39b0226f3ff06b35cc92cf /src/secp256k1/build-aux
parent76fcd9d5034143a5b041766552670d19f926097d (diff)
parent7b49f22bdbdecca600c4744d020b3553fe427e61 (diff)
downloadbitcoin-547a53d13507b3348d216d82353e0d6a9d8fa974.tar.xz
Update libsecp256k1 to master
Diffstat (limited to 'src/secp256k1/build-aux')
-rw-r--r--src/secp256k1/build-aux/m4/bitcoin_secp.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/src/secp256k1/build-aux/m4/bitcoin_secp.m4 b/src/secp256k1/build-aux/m4/bitcoin_secp.m4
index b25d8adb92..b74acb8c13 100644
--- a/src/secp256k1/build-aux/m4/bitcoin_secp.m4
+++ b/src/secp256k1/build-aux/m4/bitcoin_secp.m4
@@ -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