diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-06-28 17:55:02 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-06-28 17:55:02 +0200 |
commit | 5f451f2d6a6925e64cb165e23fed0fcf8bfb34c2 (patch) | |
tree | fc2c2d08095fcadc240796ecc82eb9480795c039 | |
parent | 1c959e44793a11f03a01b9e34469b7e2a28018ca (diff) | |
download | strongswan-5f451f2d6a6925e64cb165e23fed0fcf8bfb34c2.tar.bz2 strongswan-5f451f2d6a6925e64cb165e23fed0fcf8bfb34c2.tar.xz |
IMCs and IMVs might depend on X.509 certificates or trusted public keys
-rw-r--r-- | src/libcharon/plugins/tnc_imc/tnc_imc_plugin.c | 2 | ||||
-rw-r--r-- | src/libcharon/plugins/tnc_imv/tnc_imv_plugin.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/libcharon/plugins/tnc_imc/tnc_imc_plugin.c b/src/libcharon/plugins/tnc_imc/tnc_imc_plugin.c index a25b1843c..859dded79 100644 --- a/src/libcharon/plugins/tnc_imc/tnc_imc_plugin.c +++ b/src/libcharon/plugins/tnc_imc/tnc_imc_plugin.c @@ -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); diff --git a/src/libcharon/plugins/tnc_imv/tnc_imv_plugin.c b/src/libcharon/plugins/tnc_imv/tnc_imv_plugin.c index c16f6b9e1..612c98add 100644 --- a/src/libcharon/plugins/tnc_imv/tnc_imv_plugin.c +++ b/src/libcharon/plugins/tnc_imv/tnc_imv_plugin.c @@ -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); |