aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-08-29 15:25:23 +0200
committerTobias Brunner <tobias@strongswan.org>2013-10-11 15:45:41 +0200
commitde5ea570f1c47244f21d8200737f2154648752ce (patch)
tree88752f83d764b92c87f2de05e0e24ddf96f170ee /src/libcharon
parent6ecf1aab35dbf8d7c245935558570295a0352c83 (diff)
downloadstrongswan-de5ea570f1c47244f21d8200737f2154648752ce.tar.bz2
strongswan-de5ea570f1c47244f21d8200737f2154648752ce.tar.xz
ipseckey: Depend on plugin features to create public key and certificate objects
Diffstat (limited to 'src/libcharon')
-rw-r--r--src/libcharon/plugins/ipseckey/ipseckey_plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcharon/plugins/ipseckey/ipseckey_plugin.c b/src/libcharon/plugins/ipseckey/ipseckey_plugin.c
index 2fd820f94..9bc49ba28 100644
--- a/src/libcharon/plugins/ipseckey/ipseckey_plugin.c
+++ b/src/libcharon/plugins/ipseckey/ipseckey_plugin.c
@@ -109,6 +109,8 @@ METHOD(plugin_t, get_features, int,
PLUGIN_CALLBACK((plugin_feature_callback_t)plugin_cb, NULL),
PLUGIN_PROVIDE(CUSTOM, "ipseckey"),
PLUGIN_DEPENDS(RESOLVER),
+ PLUGIN_DEPENDS(PUBKEY, KEY_RSA),
+ PLUGIN_DEPENDS(CERT_ENCODE, CERT_TRUSTED_PUBKEY),
};
*features = f;
return countof(f);