aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/builder.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-09-30 09:29:15 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-09-30 09:29:15 +0200
commit0c8d08068ec4f8c8ea3a7e411ad121d00be56b07 (patch)
tree0c8cb08353d8dc140cf3a2aa2f64d4b0a412e178 /src/pluto/builder.c
parent5406c65702ed5931d5d7541e07700856fa687e97 (diff)
downloadstrongswan-0c8d08068ec4f8c8ea3a7e411ad121d00be56b07.tar.bz2
strongswan-0c8d08068ec4f8c8ea3a7e411ad121d00be56b07.tar.xz
pluto's crl handling now uses the x509 plugin
Diffstat (limited to 'src/pluto/builder.c')
-rw-r--r--src/pluto/builder.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pluto/builder.c b/src/pluto/builder.c
index acaff0d4d..8a90e05af 100644
--- a/src/pluto/builder.c
+++ b/src/pluto/builder.c
@@ -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;
}