aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/plugin_loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/plugins/plugin_loader.c')
-rw-r--r--src/libstrongswan/plugins/plugin_loader.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/plugin_loader.c b/src/libstrongswan/plugins/plugin_loader.c
index 831a10613..ecd1d718f 100644
--- a/src/libstrongswan/plugins/plugin_loader.c
+++ b/src/libstrongswan/plugins/plugin_loader.c
@@ -297,6 +297,7 @@ static bool load_feature(private_plugin_loader_t *this, plugin_entry_t *entry,
switch (feature->type)
{
case FEATURE_CRYPTER:
+ case FEATURE_AEAD:
case FEATURE_SIGNER:
case FEATURE_HASHER:
case FEATURE_PRF:
@@ -340,6 +341,10 @@ static bool load_feature(private_plugin_loader_t *this, plugin_entry_t *entry,
lib->crypto->add_crypter(lib->crypto, feature->crypter.alg,
name, reg->reg.f);
break;
+ case FEATURE_AEAD:
+ lib->crypto->add_aead(lib->crypto, feature->aead.alg,
+ name, reg->reg.f);
+ break;
case FEATURE_SIGNER:
lib->crypto->add_signer(lib->crypto, feature->signer,
name, reg->reg.f);