summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-07-04 20:40:27 +0200
committerRichard Levitte <levitte@openssl.org>2016-08-04 17:02:48 +0200
commitf48ebf9f4cc5be2624389583be19f1c8895be194 (patch)
treefa29eb221766652c6c4d917ec17cc9fb507ec392 /include
parent547a19cf4fcb581bd0c310bd69141031c7118295 (diff)
Constify ASN1_INTEGER_get, ASN1_ENUMERATED_get
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/asn1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/asn1.h b/include/openssl/asn1.h
index 3655bf5c60..fcf6de9967 100644
--- a/include/openssl/asn1.h
+++ b/include/openssl/asn1.h
@@ -656,7 +656,7 @@ int ASN1_ENUMERATED_set_int64(ASN1_ENUMERATED *a, int64_t r);
int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v);
-long ASN1_ENUMERATED_get(ASN1_ENUMERATED *a);
+long ASN1_ENUMERATED_get(const ASN1_ENUMERATED *a);
ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(const BIGNUM *bn, ASN1_ENUMERATED *ai);
BIGNUM *ASN1_ENUMERATED_to_BN(const ASN1_ENUMERATED *ai, BIGNUM *bn);