ECB mode added to the DES plugin
[strongswan.git] / src / libstrongswan / plugins / des / des_plugin.c
index 0dd6c1d..e475136 100644 (file)
@@ -56,6 +56,8 @@ plugin_t *plugin_create()
                                                         (crypter_constructor_t)des_crypter_create);
        lib->crypto->add_crypter(lib->crypto, ENCR_DES,
                                                         (crypter_constructor_t)des_crypter_create);
+       lib->crypto->add_crypter(lib->crypto, ENCR_DES_ECB,
+                                                        (crypter_constructor_t)des_crypter_create);
        
        return &this->public.plugin;
 }