pkcs12: Add plugin dependencies with soft dependencies on the most common algorithms
This commit is contained in:
@@ -44,6 +44,12 @@ METHOD(plugin_t, get_features, int,
|
||||
static plugin_feature_t f[] = {
|
||||
PLUGIN_REGISTER(CONTAINER_DECODE, pkcs12_decode, FALSE),
|
||||
PLUGIN_PROVIDE(CONTAINER_DECODE, CONTAINER_PKCS12),
|
||||
PLUGIN_DEPENDS(CONTAINER_DECODE, CONTAINER_PKCS7),
|
||||
PLUGIN_SDEPEND(CERT_DECODE, CERT_X509),
|
||||
PLUGIN_SDEPEND(PRIVKEY, KEY_ANY),
|
||||
PLUGIN_SDEPEND(HASHER, HASH_SHA1),
|
||||
PLUGIN_SDEPEND(CRYPTER, ENCR_3DES, 24),
|
||||
PLUGIN_SDEPEND(CRYPTER, ENCR_RC2_CBC, 0),
|
||||
};
|
||||
*features = f;
|
||||
return countof(f);
|
||||
|
||||
Reference in New Issue
Block a user