pluto's crl handling now uses the x509 plugin

This commit is contained in:
Andreas Steffen
2009-09-30 09:29:15 +02:00
parent 5406c65702
commit 0c8d08068e
3 changed files with 159 additions and 394 deletions
+5 -1
View File
@@ -168,7 +168,11 @@ static x509crl_t *builder_load_crl(certificate_type_t type, va_list args)
*crl = empty_x509crl;
crl->distributionPoints = linked_list_create();
if (parse_x509crl(chunk_clone(blob), 0, crl))
crl->crl = lib->creds->create(lib->creds,
CRED_CERTIFICATE, CERT_X509_CRL,
BUILD_BLOB_ASN1_DER, blob,
BUILD_END);
if (crl->crl)
{
return crl;
}