diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-08-31 20:30:20 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-08-31 23:18:54 +0100 |
commit | 65cbf983ca4f69b8954f949c2edaaa48824481b3 (patch) | |
tree | 00e276634405fbab27f99c8879fcf7f2a77cb111 /crypto/x509/x509cset.c | |
parent | a7e974c7be90e2c9673e2ce6215a70f734eb8ad4 (diff) | |
download | openssl-65cbf983ca4f69b8954f949c2edaaa48824481b3.tar.gz |
Add X509_CRL_up_ref function
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509/x509cset.c')
-rw-r--r-- | crypto/x509/x509cset.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/x509/x509cset.c b/crypto/x509/x509cset.c index 925ba69250..c6873240af 100644 --- a/crypto/x509/x509cset.c +++ b/crypto/x509/x509cset.c @@ -132,6 +132,11 @@ int X509_CRL_sort(X509_CRL *c) return 1; } +void X509_CRL_up_ref(X509_CRL *crl) +{ + CRYPTO_add(&crl->references, 1, CRYPTO_LOCK_X509_CRL); +} + int X509_REVOKED_set_revocationDate(X509_REVOKED *x, ASN1_TIME *tm) { ASN1_TIME *in; |