diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-07-10 00:37:58 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-07-25 08:20:00 -0400 |
commit | 7569362ebb3fcc3a0d417978d36dd26f69194d33 (patch) | |
tree | 39aa48c1d90f76fd7a2ba7e856895fdb0640e83e /crypto/x509/x509_v3.c | |
parent | fdaf7beec52cbe67332f2e5ad3b4f383153dbeb6 (diff) |
Constify ... X509|X509_CRL|X509_REVOKED|_get_ext*()
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1300)
Diffstat (limited to 'crypto/x509/x509_v3.c')
-rw-r--r-- | crypto/x509/x509_v3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_v3.c b/crypto/x509/x509_v3.c index ce69d19d0f..18d1b4133e 100644 --- a/crypto/x509/x509_v3.c +++ b/crypto/x509/x509_v3.c @@ -224,7 +224,7 @@ ASN1_OCTET_STRING *X509_EXTENSION_get_data(X509_EXTENSION *ex) return &ex->value; } -int X509_EXTENSION_get_critical(X509_EXTENSION *ex) +int X509_EXTENSION_get_critical(const X509_EXTENSION *ex) { if (ex == NULL) return (0); |