diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-08-01 19:25:16 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-01 19:53:43 +0100 |
commit | 67302ade22b99eaa42031016d4861068b0681db3 (patch) | |
tree | 95766b585b1f4d18f4f491d3141511e2086aa1b6 /crypto/x509 | |
parent | 10b0b817a0abe54f5dabe3b21717d77569ad2d9b (diff) |
Constify some X509_CRL functions.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509')
-rw-r--r-- | crypto/x509/x509cset.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/x509/x509cset.c b/crypto/x509/x509cset.c index 3763492510..1498054c09 100644 --- a/crypto/x509/x509cset.c +++ b/crypto/x509/x509cset.c @@ -95,22 +95,22 @@ int X509_CRL_up_ref(X509_CRL *crl) return ((i > 1) ? 1 : 0); } -long X509_CRL_get_version(X509_CRL *crl) +long X509_CRL_get_version(const X509_CRL *crl) { return ASN1_INTEGER_get(crl->crl.version); } -ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl) +ASN1_TIME *X509_CRL_get_lastUpdate(const X509_CRL *crl) { return crl->crl.lastUpdate; } -ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl) +ASN1_TIME *X509_CRL_get_nextUpdate(const X509_CRL *crl) { return crl->crl.nextUpdate; } -X509_NAME *X509_CRL_get_issuer(X509_CRL *crl) +X509_NAME *X509_CRL_get_issuer(const X509_CRL *crl) { return crl->crl.issuer; } |