summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-03-17 14:18:23 +0000
committerDr. Stephen Henson <steve@openssl.org>2016-03-19 22:04:38 +0000
commit34c2db9b562baffd30a6a2dda7d4247fadbf4acd (patch)
treee4f958c611f1751ed31d1f424bfcb72a81e4a22c /crypto
parent674d5858df6cd3dc5cafa25875861f4742d64608 (diff)
constify ECDSA_SIG_get0()
PR#4436 Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/ec/ec_asn1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ec_asn1.c b/crypto/ec/ec_asn1.c
index 301a5d38ce..bc4387837d 100644
--- a/crypto/ec/ec_asn1.c
+++ b/crypto/ec/ec_asn1.c
@@ -1220,7 +1220,7 @@ DECLARE_ASN1_FUNCTIONS_const(ECDSA_SIG)
DECLARE_ASN1_ENCODE_FUNCTIONS_const(ECDSA_SIG, ECDSA_SIG)
IMPLEMENT_ASN1_FUNCTIONS_const(ECDSA_SIG)
-void ECDSA_SIG_get0(BIGNUM **pr, BIGNUM **ps, ECDSA_SIG *sig)
+void ECDSA_SIG_get0(BIGNUM **pr, BIGNUM **ps, const ECDSA_SIG *sig)
{
if (pr != NULL)
*pr = sig->r;