diff -r 5e7005042079 -r 2f8ffdf7658b gcrypt/gcrypt.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gcrypt/gcrypt.patch Sat Feb 21 16:39:01 2009 +0100 @@ -0,0 +1,41 @@ +Index: cipher/cipher.c +diff -Nau cipher/cipher.c.orig cipher/cipher.c +--- cipher/cipher.c.orig 2008-09-12 15:23:37.000000000 +0200 ++++ cipher/cipher.c 2009-02-18 19:07:30.388253084 +0100 +@@ -97,6 +97,10 @@ + { &_gcry_cipher_spec_rfc2268_40, + &dummy_extra_spec, GCRY_CIPHER_RFC2268_40 }, + #endif ++#if USE_IDEA ++ { &_gcry_cipher_spec_idea, ++ &dummy_extra_spec, GCRY_CIPHER_IDEA }, ++#endif + #if USE_SEED + { &_gcry_cipher_spec_seed, + &dummy_extra_spec, GCRY_CIPHER_SEED }, +Index: src/cipher.h +diff -Nau src/cipher.h.orig src/cipher.h +--- src/cipher.h.orig 2008-09-03 12:04:42.000000000 +0200 ++++ src/cipher.h 2009-02-18 19:09:20.193397539 +0100 +@@ -105,6 +105,7 @@ + extern gcry_cipher_spec_t _gcry_cipher_spec_camellia128; + extern gcry_cipher_spec_t _gcry_cipher_spec_camellia192; + extern gcry_cipher_spec_t _gcry_cipher_spec_camellia256; ++extern gcry_cipher_spec_t _gcry_cipher_spec_idea; + + extern cipher_extra_spec_t _gcry_cipher_extraspec_tripledes; + extern cipher_extra_spec_t _gcry_cipher_extraspec_aes; +Index: tests/basic.c +diff -Nau tests/basic.c.orig tests/basic.c +--- tests/basic.c.orig 2008-09-18 16:35:57.000000000 +0200 ++++ tests/basic.c 2009-02-18 19:10:14.460255272 +0100 +@@ -1028,6 +1028,9 @@ + GCRY_CIPHER_CAMELLIA192, + GCRY_CIPHER_CAMELLIA256, + #endif ++#if USE_IDEA ++ GCRY_CIPHER_IDEA, ++#endif + 0 + }; + static int algos2[] = {