2005-04-11 Moritz Schulte <moritz@g10code.com>
authorMoritz Schulte <mo@g10code.com>
Mon, 11 Apr 2005 12:06:25 +0000 (12:06 +0000)
committerMoritz Schulte <mo@g10code.com>
Mon, 11 Apr 2005 12:06:25 +0000 (12:06 +0000)
* configure.ac: Integrate Whirlpool.

ChangeLog
configure.ac

index a272785..cf9d285 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-11  Moritz Schulte  <moritz@g10code.com>
+
+       * configure.ac: Integrate Whirlpool.
+
 2005-01-04  Werner Koch  <wk@g10code.com>
 
        Updated to automake 1.9.
index 826e3fa..7a4f717 100644 (file)
@@ -96,7 +96,7 @@ enabled_pubkey_ciphers=""
 
 # Definitions for message digests.
 available_digests="crc md4 md5 rmd160 sha1 sha256"
-available_digests_64="sha512 tiger"
+available_digests_64="sha512 tiger whirlpool"
 enabled_digests=""
 
 # Definitions for random modules.
@@ -738,6 +738,11 @@ test "$found" = "1" && GCRYPT_DIGESTS="$GCRYPT_DIGESTS tiger.lo"
 AC_DEFINE_UNQUOTED(USE_TIGER, $found,
                                [Defined if this module should be included])
 
+LIST_MEMBER(whirlpool, $enabled_digests)
+test "$found" = "1" && GCRYPT_DIGESTS="$GCRYPT_DIGESTS whirlpool.lo"
+AC_DEFINE_UNQUOTED(USE_WHIRLPOOL, $found,
+                               [Defined if this module should be included])
+
 # rmd160 and sha1 should be included always.
 GCRYPT_DIGESTS="$GCRYPT_DIGESTS rmd160.lo sha1.lo"
 AC_DEFINE_UNQUOTED(USE_RMD160, 1, [Defined if this module should be included])