aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/openssl/openssl_crypter.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2009-02-18 19:41:33 +0000
committerTobias Brunner <tobias@strongswan.org>2009-02-18 19:41:33 +0000
commitb8fa437fb74ff57a3983356af85bc90ff24d1259 (patch)
tree25e7edb0a604247ac3ac3168d59364c9f7efb180 /src/libstrongswan/plugins/openssl/openssl_crypter.c
parentd2ac1443d39331df9e559a7a681b5a7cf68465d3 (diff)
downloadstrongswan-b8fa437fb74ff57a3983356af85bc90ff24d1259.tar.bz2
strongswan-b8fa437fb74ff57a3983356af85bc90ff24d1259.tar.xz
adding MD4 and DES (ECB) to openssl plugin
Diffstat (limited to 'src/libstrongswan/plugins/openssl/openssl_crypter.c')
-rw-r--r--src/libstrongswan/plugins/openssl/openssl_crypter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/openssl/openssl_crypter.c b/src/libstrongswan/plugins/openssl/openssl_crypter.c
index fafe23850..6d4de2698 100644
--- a/src/libstrongswan/plugins/openssl/openssl_crypter.c
+++ b/src/libstrongswan/plugins/openssl/openssl_crypter.c
@@ -224,6 +224,9 @@ openssl_crypter_t *openssl_crypter_create(encryption_algorithm_t algo,
return NULL;
}
break;
+ case ENCR_DES_ECB:
+ this->cipher = EVP_des_ecb();
+ break;
default:
{
char* name = lookup_algorithm(encryption_algs, algo, &key_size);