1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gcrypt/gcrypt.patch Sat Feb 21 16:39:01 2009 +0100 1.3 @@ -0,0 +1,41 @@ 1.4 +Index: cipher/cipher.c 1.5 +diff -Nau cipher/cipher.c.orig cipher/cipher.c 1.6 +--- cipher/cipher.c.orig 2008-09-12 15:23:37.000000000 +0200 1.7 ++++ cipher/cipher.c 2009-02-18 19:07:30.388253084 +0100 1.8 +@@ -97,6 +97,10 @@ 1.9 + { &_gcry_cipher_spec_rfc2268_40, 1.10 + &dummy_extra_spec, GCRY_CIPHER_RFC2268_40 }, 1.11 + #endif 1.12 ++#if USE_IDEA 1.13 ++ { &_gcry_cipher_spec_idea, 1.14 ++ &dummy_extra_spec, GCRY_CIPHER_IDEA }, 1.15 ++#endif 1.16 + #if USE_SEED 1.17 + { &_gcry_cipher_spec_seed, 1.18 + &dummy_extra_spec, GCRY_CIPHER_SEED }, 1.19 +Index: src/cipher.h 1.20 +diff -Nau src/cipher.h.orig src/cipher.h 1.21 +--- src/cipher.h.orig 2008-09-03 12:04:42.000000000 +0200 1.22 ++++ src/cipher.h 2009-02-18 19:09:20.193397539 +0100 1.23 +@@ -105,6 +105,7 @@ 1.24 + extern gcry_cipher_spec_t _gcry_cipher_spec_camellia128; 1.25 + extern gcry_cipher_spec_t _gcry_cipher_spec_camellia192; 1.26 + extern gcry_cipher_spec_t _gcry_cipher_spec_camellia256; 1.27 ++extern gcry_cipher_spec_t _gcry_cipher_spec_idea; 1.28 + 1.29 + extern cipher_extra_spec_t _gcry_cipher_extraspec_tripledes; 1.30 + extern cipher_extra_spec_t _gcry_cipher_extraspec_aes; 1.31 +Index: tests/basic.c 1.32 +diff -Nau tests/basic.c.orig tests/basic.c 1.33 +--- tests/basic.c.orig 2008-09-18 16:35:57.000000000 +0200 1.34 ++++ tests/basic.c 2009-02-18 19:10:14.460255272 +0100 1.35 +@@ -1028,6 +1028,9 @@ 1.36 + GCRY_CIPHER_CAMELLIA192, 1.37 + GCRY_CIPHER_CAMELLIA256, 1.38 + #endif 1.39 ++#if USE_IDEA 1.40 ++ GCRY_CIPHER_IDEA, 1.41 ++#endif 1.42 + 0 1.43 + }; 1.44 + static int algos2[] = {