diff options
author | Martin Willi <martin@strongswan.org> | 2009-06-15 18:18:04 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-06-15 18:18:04 +0200 |
commit | 25ecb8dafafad5f8494188d7ca13979e839d10ec (patch) | |
tree | a51b4c1031a558529fe986281a442ecc4e7332af /src/libstrongswan/plugins/gcrypt/gcrypt_crypter.c | |
parent | d32b14db5eb0a75b281af75ae9622153de16ff6d (diff) | |
download | strongswan-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.c | 4 |
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; |