diff options
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 4dbe6d087f..1543588139 100644 --- a/crypto/x509/x509cset.c +++ b/crypto/x509/x509cset.c @@ -177,6 +177,11 @@ int X509_CRL_get_signature_nid(const X509_CRL *crl) return OBJ_obj2nid(crl->sig_alg.algorithm); } +ASN1_TIME *X509_REVOKED_get0_revocationDate(X509_REVOKED *x) +{ + return x->revocationDate; +} + int X509_REVOKED_set_revocationDate(X509_REVOKED *x, ASN1_TIME *tm) { ASN1_TIME *in; @@ -194,6 +199,11 @@ int X509_REVOKED_set_revocationDate(X509_REVOKED *x, ASN1_TIME *tm) return (in != NULL); } +ASN1_INTEGER *X509_REVOKED_get0_serialNumber(X509_REVOKED *x) +{ + return x->serialNumber; +} + int X509_REVOKED_set_serialNumber(X509_REVOKED *x, ASN1_INTEGER *serial) { ASN1_INTEGER *in; |