diff options
author | Tobias Brunner <tobias@strongswan.org> | 2009-02-18 19:41:33 +0000 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2009-02-18 19:41:33 +0000 |
commit | b8fa437fb74ff57a3983356af85bc90ff24d1259 (patch) | |
tree | 25e7edb0a604247ac3ac3168d59364c9f7efb180 /src/libstrongswan/plugins/openssl/openssl_plugin.c | |
parent | d2ac1443d39331df9e559a7a681b5a7cf68465d3 (diff) | |
download | strongswan-b8fa437fb74ff57a3983356af85bc90ff24d1259.tar.bz2 strongswan-b8fa437fb74ff57a3983356af85bc90ff24d1259.tar.xz |
adding MD4 and DES (ECB) to openssl plugin
Diffstat (limited to 'src/libstrongswan/plugins/openssl/openssl_plugin.c')
-rw-r--r-- | src/libstrongswan/plugins/openssl/openssl_plugin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/openssl/openssl_plugin.c b/src/libstrongswan/plugins/openssl/openssl_plugin.c index 952697b60..26f8e27a4 100644 --- a/src/libstrongswan/plugins/openssl/openssl_plugin.c +++ b/src/libstrongswan/plugins/openssl/openssl_plugin.c @@ -226,6 +226,8 @@ plugin_t *plugin_create() (crypter_constructor_t)openssl_crypter_create); lib->crypto->add_crypter(lib->crypto, ENCR_DES, (crypter_constructor_t)openssl_crypter_create); + lib->crypto->add_crypter(lib->crypto, ENCR_DES_ECB, + (crypter_constructor_t)openssl_crypter_create); lib->crypto->add_crypter(lib->crypto, ENCR_NULL, (crypter_constructor_t)openssl_crypter_create); @@ -234,6 +236,8 @@ plugin_t *plugin_create() (hasher_constructor_t)openssl_hasher_create); lib->crypto->add_hasher(lib->crypto, HASH_MD2, (hasher_constructor_t)openssl_hasher_create); + lib->crypto->add_hasher(lib->crypto, HASH_MD4, + (hasher_constructor_t)openssl_hasher_create); lib->crypto->add_hasher(lib->crypto, HASH_MD5, (hasher_constructor_t)openssl_hasher_create); lib->crypto->add_hasher(lib->crypto, HASH_SHA256, |