aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-09-27 19:27:24 +0000
committerDavid Shaw <[email protected]>2002-09-27 19:27:24 +0000
commit37f29e81027fc37c9bf8c0089fca7f290ace6a2c (patch)
treedf57d8f79516dc4c30aca14da1930a13f5866408
parent* configure.ac: Remove --enable-tiger, as TIGER is now always enabled. (diff)
downloadgnupg-37f29e81027fc37c9bf8c0089fca7f290ace6a2c.tar.gz
gnupg-37f29e81027fc37c9bf8c0089fca7f290ace6a2c.zip
* Makefile.am, md.c (load_digest_module): TIGER is now always enabled.
-rw-r--r--cipher/ChangeLog5
-rw-r--r--cipher/Makefile.am9
-rw-r--r--cipher/md.c2
3 files changed, 10 insertions, 6 deletions
diff --git a/cipher/ChangeLog b/cipher/ChangeLog
index b16e8325c..26b09cef9 100644
--- a/cipher/ChangeLog
+++ b/cipher/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-27 David Shaw <[email protected]>
+
+ * Makefile.am, md.c (load_digest_module): TIGER is now always
+ enabled.
+
2002-09-26 Werner Koch <[email protected]>
* tiger.c (tiger_get_info): Use a regular OID. Note that this
diff --git a/cipher/Makefile.am b/cipher/Makefile.am
index c73cccd7e..4f06a8091 100644
--- a/cipher/Makefile.am
+++ b/cipher/Makefile.am
@@ -51,12 +51,13 @@ libcipher_a_SOURCES = cipher.c \
rndw32.c \
md5.c \
rmd160.c \
- sha1.c
+ sha1.c \
+ tiger.c
-EXTRA_libcipher_a_SOURCES = idea-stub.c tiger.c
+EXTRA_libcipher_a_SOURCES = idea-stub.c
-libcipher_a_DEPENDENCIES = @IDEA_O@ @TIGER_O@
-libcipher_a_LIBADD = @IDEA_O@ @TIGER_O@
+libcipher_a_DEPENDENCIES = @IDEA_O@
+libcipher_a_LIBADD = @IDEA_O@
tiger.o: $(srcdir)/tiger.c
`echo $(COMPILE) -c $(srcdir)/tiger.c | sed -e 's/-O[2-9s]*/-O1/g' `
diff --git a/cipher/md.c b/cipher/md.c
index 34888b9a7..d0811e254 100644
--- a/cipher/md.c
+++ b/cipher/md.c
@@ -95,10 +95,8 @@ load_digest_module (void)
/* We load them in reverse order so that the most
frequently used are the first in the list. */
-#ifdef USE_TIGER
if (!new_list_item (DIGEST_ALGO_TIGER, tiger_get_info))
BUG();
-#endif
if (!new_list_item (DIGEST_ALGO_MD5, md5_get_info))
BUG ();
if (!new_list_item (DIGEST_ALGO_RMD160, rmd160_get_info))