diff options
author | Matt Caswell <matt@openssl.org> | 2016-08-13 14:44:07 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-17 13:38:03 +0100 |
commit | 5e6089f0eba7b12f21b3237c57f2bd56049eb1ae (patch) | |
tree | 4fdb1a5e466cab61f513afef6549b5068204035b /crypto/x509/x509cset.c | |
parent | 6eabcc839f381bf07d004869ca8fe855edbb4846 (diff) | |
download | openssl-5e6089f0eba7b12f21b3237c57f2bd56049eb1ae.tar.gz |
Convert X509_CRL* functions to use const getters
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Stephen Henson <steve@openssl.org>
Diffstat (limited to 'crypto/x509/x509cset.c')
-rw-r--r-- | crypto/x509/x509cset.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/x509/x509cset.c b/crypto/x509/x509cset.c index 1498054c09..e33caf729a 100644 --- a/crypto/x509/x509cset.c +++ b/crypto/x509/x509cset.c @@ -115,7 +115,7 @@ X509_NAME *X509_CRL_get_issuer(const X509_CRL *crl) return crl->crl.issuer; } -STACK_OF(X509_EXTENSION) *X509_CRL_get0_extensions(X509_CRL *crl) +const STACK_OF(X509_EXTENSION) *X509_CRL_get0_extensions(const X509_CRL *crl) { return crl->crl.extensions; } @@ -125,8 +125,8 @@ STACK_OF(X509_REVOKED) *X509_CRL_get_REVOKED(X509_CRL *crl) return crl->crl.revoked; } -void X509_CRL_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg, - X509_CRL *crl) +void X509_CRL_get0_signature(const X509_CRL *crl, const ASN1_BIT_STRING **psig, + const X509_ALGOR **palg) { if (psig != NULL) *psig = &crl->signature; |