IMCs and IMVs might depend on X.509 certificates or trusted public keys
This commit is contained in:
@@ -44,6 +44,8 @@ METHOD(plugin_t, get_features, int,
|
|||||||
PLUGIN_CALLBACK(tnc_manager_register, tnc_imc_manager_create),
|
PLUGIN_CALLBACK(tnc_manager_register, tnc_imc_manager_create),
|
||||||
PLUGIN_PROVIDE(CUSTOM, "imc-manager"),
|
PLUGIN_PROVIDE(CUSTOM, "imc-manager"),
|
||||||
PLUGIN_DEPENDS(CUSTOM, "tnccs-manager"),
|
PLUGIN_DEPENDS(CUSTOM, "tnccs-manager"),
|
||||||
|
PLUGIN_SDEPEND(CERT_DECODE, CERT_X509),
|
||||||
|
PLUGIN_SDEPEND(CERT_DECODE, CERT_TRUSTED_PUBKEY),
|
||||||
};
|
};
|
||||||
*features = f;
|
*features = f;
|
||||||
return countof(f);
|
return countof(f);
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ METHOD(plugin_t, get_features, int,
|
|||||||
PLUGIN_CALLBACK(tnc_manager_register, tnc_imv_manager_create),
|
PLUGIN_CALLBACK(tnc_manager_register, tnc_imv_manager_create),
|
||||||
PLUGIN_PROVIDE(CUSTOM, "imv-manager"),
|
PLUGIN_PROVIDE(CUSTOM, "imv-manager"),
|
||||||
PLUGIN_DEPENDS(CUSTOM, "tnccs-manager"),
|
PLUGIN_DEPENDS(CUSTOM, "tnccs-manager"),
|
||||||
|
PLUGIN_SDEPEND(CERT_DECODE, CERT_X509),
|
||||||
|
PLUGIN_SDEPEND(CERT_DECODE, CERT_TRUSTED_PUBKEY),
|
||||||
};
|
};
|
||||||
*features = f;
|
*features = f;
|
||||||
return countof(f);
|
return countof(f);
|
||||||
|
|||||||
Reference in New Issue
Block a user