ipseckey: Depend on plugin features to create public key and certificate objects
authorTobias Brunner <tobias@strongswan.org>
Thu, 29 Aug 2013 13:25:23 +0000 (15:25 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 11 Oct 2013 13:45:41 +0000 (15:45 +0200)
src/libcharon/plugins/ipseckey/ipseckey_plugin.c

index 2fd820f..9bc49ba 100644 (file)
@@ -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);