]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
IMCs and IMVs might depend on X.509 certificates or trusted public keys
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 28 Jun 2012 15:55:02 +0000 (17:55 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 28 Jun 2012 15:55:02 +0000 (17:55 +0200)
src/libcharon/plugins/tnc_imc/tnc_imc_plugin.c
src/libcharon/plugins/tnc_imv/tnc_imv_plugin.c

index a25b1843ce2eaed4bcb30ae9addb9ae763c087a9..859dded7940fae3ceacddabf97a6791b13dc39d6 100644 (file)
@@ -44,6 +44,8 @@ METHOD(plugin_t, get_features, int,
                PLUGIN_CALLBACK(tnc_manager_register, tnc_imc_manager_create),
                        PLUGIN_PROVIDE(CUSTOM, "imc-manager"),
                                PLUGIN_DEPENDS(CUSTOM, "tnccs-manager"),
+                               PLUGIN_SDEPEND(CERT_DECODE, CERT_X509),
+                               PLUGIN_SDEPEND(CERT_DECODE, CERT_TRUSTED_PUBKEY),
        };
        *features = f;
        return countof(f);
index c16f6b9e10f6def5e12e29c252d4532646123a32..612c98add28539e30f17083546edd0273ea20f18 100644 (file)
@@ -47,6 +47,8 @@ METHOD(plugin_t, get_features, int,
                PLUGIN_CALLBACK(tnc_manager_register, tnc_imv_manager_create),
                        PLUGIN_PROVIDE(CUSTOM, "imv-manager"),
                                PLUGIN_DEPENDS(CUSTOM, "tnccs-manager"),
+                               PLUGIN_SDEPEND(CERT_DECODE, CERT_X509),
+                               PLUGIN_SDEPEND(CERT_DECODE, CERT_TRUSTED_PUBKEY),
        };
        *features = f;
        return countof(f);