aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/openssl/openssl_plugin.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-07-15 12:23:50 +0200
committerMartin Willi <martin@revosec.ch>2010-08-04 09:26:20 +0200
commit3479c2793116b18407e2e041e5bee454a8f9005d (patch)
tree7fd0578f95f318aabac1f013fad30dddcd45ae6f /src/libstrongswan/plugins/openssl/openssl_plugin.c
parent36c852a08be2b4373bd62d7cfb1862d28e818505 (diff)
downloadstrongswan-3479c2793116b18407e2e041e5bee454a8f9005d.tar.bz2
strongswan-3479c2793116b18407e2e041e5bee454a8f9005d.tar.xz
Support module names in %smartcard specifier, streamlined smartcard building
Diffstat (limited to 'src/libstrongswan/plugins/openssl/openssl_plugin.c')
-rw-r--r--src/libstrongswan/plugins/openssl/openssl_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/openssl/openssl_plugin.c b/src/libstrongswan/plugins/openssl/openssl_plugin.c
index 31697dcb8..ab08a201d 100644
--- a/src/libstrongswan/plugins/openssl/openssl_plugin.c
+++ b/src/libstrongswan/plugins/openssl/openssl_plugin.c
@@ -318,7 +318,7 @@ plugin_t *openssl_plugin_create()
(builder_function_t)openssl_rsa_private_key_load);
lib->creds->add_builder(lib->creds, CRED_PRIVATE_KEY, KEY_RSA,
(builder_function_t)openssl_rsa_private_key_gen);
- lib->creds->add_builder(lib->creds, CRED_PRIVATE_KEY, KEY_RSA,
+ lib->creds->add_builder(lib->creds, CRED_PRIVATE_KEY, KEY_ANY,
(builder_function_t)openssl_rsa_private_key_connect);
lib->creds->add_builder(lib->creds, CRED_PUBLIC_KEY, KEY_RSA,
(builder_function_t)openssl_rsa_public_key_load);