summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_purp.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/x509v3/v3_purp.c
parent2eed3a3cc87be91ee56a9961abcee5ea43901e56 (diff)
Cache some CRL related extensions.
Diffstat (limited to 'crypto/x509v3/v3_purp.c')
-rw-r--r--crypto/x509v3/v3_purp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/x509v3/v3_purp.c b/crypto/x509v3/v3_purp.c
index e64a528bf7..ee2f08fe2d 100644
--- a/crypto/x509v3/v3_purp.c
+++ b/crypto/x509v3/v3_purp.c
@@ -412,6 +412,7 @@ static void x509v3_cache_extensions(X509 *x)
}
x->skid =X509_get_ext_d2i(x, NID_subject_key_identifier, NULL, NULL);
x->akid =X509_get_ext_d2i(x, NID_authority_key_identifier, NULL, NULL);
+ x->crldp = X509_get_ext_d2i(x, NID_crl_distribution_points, NULL, NULL);
for (i = 0; i < X509_get_ext_count(x); i++)
{
ex = X509_get_ext(x, i);