aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/sshkey/sshkey_plugin.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-04-01 16:02:00 +0200
committerTobias Brunner <tobias@strongswan.org>2013-05-07 15:38:28 +0200
commitcc4408abcb47fa48a2dc633ebd9f2a8bf1144caf (patch)
treeba0c973007a70763ca506c674846cb9dd8269d55 /src/libstrongswan/plugins/sshkey/sshkey_plugin.c
parent584d656b774ca11f415d0ea0257dbf4558326562 (diff)
downloadstrongswan-cc4408abcb47fa48a2dc633ebd9f2a8bf1144caf.tar.bz2
strongswan-cc4408abcb47fa48a2dc633ebd9f2a8bf1144caf.tar.xz
sshkey: Added builder for SSHKEY RSA keys
Diffstat (limited to 'src/libstrongswan/plugins/sshkey/sshkey_plugin.c')
-rw-r--r--src/libstrongswan/plugins/sshkey/sshkey_plugin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/sshkey/sshkey_plugin.c b/src/libstrongswan/plugins/sshkey/sshkey_plugin.c
index 3d90db6db..fe6252671 100644
--- a/src/libstrongswan/plugins/sshkey/sshkey_plugin.c
+++ b/src/libstrongswan/plugins/sshkey/sshkey_plugin.c
@@ -16,6 +16,7 @@
#include "sshkey_plugin.h"
#include <library.h>
+#include "sshkey_builder.h"
typedef struct private_sshkey_plugin_t private_sshkey_plugin_t;
@@ -40,6 +41,8 @@ METHOD(plugin_t, get_features, int,
private_sshkey_plugin_t *this, plugin_feature_t *features[])
{
static plugin_feature_t f[] = {
+ PLUGIN_REGISTER(PUBKEY, sshkey_public_key_load, FALSE),
+ PLUGIN_PROVIDE(PUBKEY, KEY_ANY),
};
*features = f;
return countof(f);