revocation: Allow CRLs to be encoded in PEM format
[strongswan.git] / src / libstrongswan / plugins / revocation / revocation_validator.c
index 9fd5b2a..fdcb990 100644 (file)
@@ -367,7 +367,7 @@ static certificate_t* fetch_crl(char *url)
                return NULL;
        }
        crl = lib->creds->create(lib->creds, CRED_CERTIFICATE, CERT_X509_CRL,
-                                                        BUILD_BLOB_ASN1_DER, chunk, BUILD_END);
+                                                        BUILD_BLOB_PEM, chunk, BUILD_END);
        chunk_free(&chunk);
        if (!crl)
        {