summaryrefslogtreecommitdiff
path: root/src/pluto/crl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluto/crl.c')
-rw-r--r--src/pluto/crl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pluto/crl.c b/src/pluto/crl.c
index c8fb107d5..1c9c9a8cc 100644
--- a/src/pluto/crl.c
+++ b/src/pluto/crl.c
@@ -352,7 +352,7 @@ cert_status_t verify_by_crl(cert_t *cert, time_t *until, time_t *revocationDate,
x509crl_t *x509crl;
ca_info_t *ca;
enumerator_t *enumerator;
- char *point;
+ x509_cdp_t *cdp;
ca = get_ca_info(issuer, authKeyID);
@@ -376,9 +376,9 @@ cert_status_t verify_by_crl(cert_t *cert, time_t *until, time_t *revocationDate,
}
enumerator = x509->create_crl_uri_enumerator(x509);
- while (enumerator->enumerate(enumerator, &point))
+ while (enumerator->enumerate(enumerator, &cdp))
{
- add_distribution_point(crluris, point);
+ add_distribution_point(crluris, cdp->uri);
}
enumerator->destroy(enumerator);
@@ -416,9 +416,9 @@ cert_status_t verify_by_crl(cert_t *cert, time_t *until, time_t *revocationDate,
}
enumerator = x509->create_crl_uri_enumerator(x509);
- while (enumerator->enumerate(enumerator, &point))
+ while (enumerator->enumerate(enumerator, &cdp))
{
- add_distribution_point(x509crl->distributionPoints, point);
+ add_distribution_point(x509crl->distributionPoints, cdp->uri);
}
enumerator->destroy(enumerator);