aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/x_x509.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-07-24 12:39:22 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-07-24 12:39:22 +0000
commitedc540211c4852c57c01743a068aecc0e0a97b5c (patch)
treeaf526d91c0c1e04d4e3f46cf36c238c29d4e920e /crypto/asn1/x_x509.c
parent2eed3a3cc87be91ee56a9961abcee5ea43901e56 (diff)
downloadopenssl-edc540211c4852c57c01743a068aecc0e0a97b5c.tar.gz
Cache some CRL related extensions.
Diffstat (limited to 'crypto/asn1/x_x509.c')
-rw-r--r--crypto/asn1/x_x509.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/asn1/x_x509.c b/crypto/asn1/x_x509.c
index 086021c5a1..73f61e1eb9 100644
--- a/crypto/asn1/x_x509.c
+++ b/crypto/asn1/x_x509.c
@@ -96,6 +96,7 @@ static int x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
ret->skid = NULL;
ret->akid = NULL;
ret->aux = NULL;
+ ret->crldp = NULL;
CRYPTO_new_ex_data(CRYPTO_EX_INDEX_X509, ret, &ret->ex_data);
break;
@@ -109,6 +110,7 @@ static int x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
X509_CERT_AUX_free(ret->aux);
ASN1_OCTET_STRING_free(ret->skid);
AUTHORITY_KEYID_free(ret->akid);
+ CRL_DIST_POINTS_free(ret->crldp);
policy_cache_free(ret->policy_cache);
if (ret->name != NULL) OPENSSL_free(ret->name);