])
AS_IF([test "x$libcrypto_ecdsa" = "xyes"], [
- AC_DEFINE([HAVE_LIBCRYPTO_ECDSA], [1], [define to 1 if OpenSSL ecdsa support is avalable.])
+ AC_DEFINE([HAVE_LIBCRYPTO_ECDSA], [1], [define to 1 if OpenSSL ecdsa support is available.])
])
])
return 1;
}
+#ifdef HAVE_LIBCRYPTO_ECDSA
static inline void ECDSA_SIG_get0(const ECDSA_SIG* signature, const BIGNUM** pr, const BIGNUM** ps) {
*pr = signature->r;
*ps = signature->s;
signature->s = ps;
return 1;
}
+#endif /* HAVE_LIBCRYPTO_ECDSA */
+
#else
void openssl_thread_setup() {}
void openssl_thread_cleanup() {}