projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add X509_CRL_up_ref function
[openssl.git]
/
crypto
/
x509
/
x509cset.c
diff --git
a/crypto/x509/x509cset.c
b/crypto/x509/x509cset.c
index 925ba6925074cc93c77041cc4a8236dd08a336d2..c6873240af5d0ccb509f5da1f4f4d342523f0503 100644
(file)
--- 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;