From 34c2db9b562baffd30a6a2dda7d4247fadbf4acd Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 17 Mar 2016 14:18:23 +0000 Subject: constify ECDSA_SIG_get0() PR#4436 Reviewed-by: Richard Levitte Reviewed-by: Viktor Dukhovni --- include/openssl/ec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/openssl/ec.h b/include/openssl/ec.h index e67439b73d..103f718208 100644 --- a/include/openssl/ec.h +++ b/include/openssl/ec.h @@ -1139,7 +1139,7 @@ ECDSA_SIG *d2i_ECDSA_SIG(ECDSA_SIG **sig, const unsigned char **pp, long len); * \param pr pointer to BIGNUM pointer for r (may be NULL) * \param ps pointer to BIGNUM pointer for s (may be NULL) */ -void ECDSA_SIG_get0(BIGNUM **pr, BIGNUM **ps, ECDSA_SIG *sig); +void ECDSA_SIG_get0(BIGNUM **pr, BIGNUM **ps, const ECDSA_SIG *sig); /** Computes the ECDSA signature of the given hash value using * the supplied private key and returns the created signature. -- cgit v1.2.3