aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/pem
diff options
context:
space:
mode:
authorAndreas Steffen <andreas@strongswan.org>2009-09-13 21:00:15 +0200
committerAndreas Steffen <andreas@strongswan.org>2009-09-13 21:00:15 +0200
commitf03e0e91479424c120c92cb44484651bb59f3f3e (patch)
tree03c283960e5d530ae1b6fee18c3dff00a1bd54ee /src/libstrongswan/plugins/pem
parent4c51c6be01a65494a6b6d25a2971becdc52e666f (diff)
downloadstrongswan-f03e0e91479424c120c92cb44484651bb59f3f3e.tar.bz2
strongswan-f03e0e91479424c120c92cb44484651bb59f3f3e.tar.xz
support of PKCS#10 certificate request parsing
Diffstat (limited to 'src/libstrongswan/plugins/pem')
-rw-r--r--src/libstrongswan/plugins/pem/pem_plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/pem/pem_plugin.c b/src/libstrongswan/plugins/pem/pem_plugin.c
index 2a24e681c..1afab2cf6 100644
--- a/src/libstrongswan/plugins/pem/pem_plugin.c
+++ b/src/libstrongswan/plugins/pem/pem_plugin.c
@@ -87,6 +87,8 @@ plugin_t *plugin_create()
(builder_function_t)pem_certificate_load);
lib->creds->add_builder(lib->creds, CRED_CERTIFICATE, CERT_X509_AC,
(builder_function_t)pem_certificate_load);
+ lib->creds->add_builder(lib->creds, CRED_CERTIFICATE, CERT_PKCS10_REQUEST,
+ (builder_function_t)pem_certificate_load);
lib->creds->add_builder(lib->creds, CRED_CERTIFICATE, CERT_TRUSTED_PUBKEY,
(builder_function_t)pem_certificate_load);
lib->creds->add_builder(lib->creds, CRED_CERTIFICATE, CERT_GPG,