aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/gcrypt/gcrypt_crypter.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-06-15 18:18:04 +0200
committerMartin Willi <martin@strongswan.org>2009-06-15 18:18:04 +0200
commit25ecb8dafafad5f8494188d7ca13979e839d10ec (patch)
treea51b4c1031a558529fe986281a442ecc4e7332af /src/libstrongswan/plugins/gcrypt/gcrypt_crypter.c
parentd32b14db5eb0a75b281af75ae9622153de16ff6d (diff)
downloadstrongswan-25ecb8dafafad5f8494188d7ca13979e839d10ec.tar.bz2
strongswan-25ecb8dafafad5f8494188d7ca13979e839d10ec.tar.xz
gcrypt actually does not implement IDEA
Diffstat (limited to 'src/libstrongswan/plugins/gcrypt/gcrypt_crypter.c')
-rw-r--r--src/libstrongswan/plugins/gcrypt/gcrypt_crypter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstrongswan/plugins/gcrypt/gcrypt_crypter.c b/src/libstrongswan/plugins/gcrypt/gcrypt_crypter.c
index 3bf513f55..17e6ef26f 100644
--- a/src/libstrongswan/plugins/gcrypt/gcrypt_crypter.c
+++ b/src/libstrongswan/plugins/gcrypt/gcrypt_crypter.c
@@ -143,8 +143,8 @@ gcrypt_crypter_t *gcrypt_crypter_create(encryption_algorithm_t algo,
gcrypt_alg = GCRY_CIPHER_3DES;
break;
case ENCR_IDEA:
- gcrypt_alg = GCRY_CIPHER_IDEA;
- break;
+ /* currently not implemented in gcrypt */
+ return NULL;
case ENCR_CAST:
gcrypt_alg = GCRY_CIPHER_CAST5;
break;