aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/pubkey/pubkey_plugin.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2008-05-15 12:33:00 +0000
committerTobias Brunner <tobias@strongswan.org>2008-05-15 12:33:00 +0000
commitc1571b34fdb87b8b18a1aeb336d208d2bdcc2429 (patch)
tree9ba060a339a1e50828e47adc9c555b7c1ace6ee3 /src/libstrongswan/plugins/pubkey/pubkey_plugin.c
parent89658f6d6c0cea83f62109ad15f93df89873e499 (diff)
downloadstrongswan-c1571b34fdb87b8b18a1aeb336d208d2bdcc2429.tar.bz2
strongswan-c1571b34fdb87b8b18a1aeb336d208d2bdcc2429.tar.xz
generic public key factory moved
Diffstat (limited to 'src/libstrongswan/plugins/pubkey/pubkey_plugin.c')
-rw-r--r--src/libstrongswan/plugins/pubkey/pubkey_plugin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/pubkey/pubkey_plugin.c b/src/libstrongswan/plugins/pubkey/pubkey_plugin.c
index 77d2c86e9..37d0dcd4c 100644
--- a/src/libstrongswan/plugins/pubkey/pubkey_plugin.c
+++ b/src/libstrongswan/plugins/pubkey/pubkey_plugin.c
@@ -19,6 +19,7 @@
#include <library.h>
#include "pubkey_cert.h"
+#include "pubkey_public_key.h"
typedef struct private_pubkey_plugin_t private_pubkey_plugin_t;
@@ -54,6 +55,8 @@ plugin_t *plugin_create()
lib->creds->add_builder(lib->creds, CRED_CERTIFICATE, CERT_TRUSTED_PUBKEY,
(builder_constructor_t)pubkey_cert_builder);
+ lib->creds->add_builder(lib->creds, CRED_PUBLIC_KEY, KEY_ANY,
+ (builder_constructor_t)pubkey_public_key_builder);
return &this->public.plugin;
}