diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-09-18 02:39:44 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-09-22 13:07:06 +0100 |
commit | 835911b845043817f4477252be4f5fec93165503 (patch) | |
tree | 5b4d9f4fcf67577ba3b00b333b9a7f2055d7483b /crypto/x509/x509cset.c | |
parent | 75ef61d7058b30a5c96a9f49eee0f0313141ec54 (diff) | |
download | openssl-835911b845043817f4477252be4f5fec93165503.tar.gz |
Additional X509_CRL accessors.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509/x509cset.c')
-rw-r--r-- | crypto/x509/x509cset.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/x509/x509cset.c b/crypto/x509/x509cset.c index 676cebafa5..a779fd4f48 100644 --- a/crypto/x509/x509cset.c +++ b/crypto/x509/x509cset.c @@ -158,6 +158,11 @@ X509_NAME *X509_CRL_get_issuer(X509_CRL *crl) return crl->crl.issuer; } +STACK_OF(X509_EXTENSION) *X509_CRL_get0_extensions(X509_CRL *crl) +{ + return crl->crl.extensions; +} + STACK_OF(X509_REVOKED) *X509_CRL_get_REVOKED(X509_CRL *crl) { return crl->crl.revoked; @@ -221,6 +226,11 @@ int X509_REVOKED_set_serialNumber(X509_REVOKED *x, ASN1_INTEGER *serial) return (in != NULL); } +STACK_OF(X509_EXTENSION) *X509_REVOKED_get0_extensions(X509_REVOKED *r) +{ + return r->extensions; +} + int i2d_re_X509_CRL_tbs(X509_CRL *crl, unsigned char **pp) { crl->crl.enc.modified = 1; |