mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
* Makefile.am, md.c (load_digest_module): Allow switching TIGER on and off
via configure.
This commit is contained in:
parent
fcdd2ec92f
commit
3d85ad800d
@ -1,3 +1,8 @@
|
||||
2002-08-08 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* Makefile.am, md.c (load_digest_module): Allow switching TIGER on
|
||||
and off via configure.
|
||||
|
||||
2002-08-07 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* md.c (md_algo_present): New function to check if a given algo is
|
||||
|
@ -51,15 +51,12 @@ libcipher_a_SOURCES = cipher.c \
|
||||
rndw32.c \
|
||||
md5.c \
|
||||
rmd160.c \
|
||||
sha1.c \
|
||||
tiger.c
|
||||
sha1.c
|
||||
|
||||
EXTRA_libcipher_a_SOURCES = idea-stub.c
|
||||
EXTRA_libcipher_a_SOURCES = idea-stub.c tiger.c
|
||||
|
||||
libcipher_a_DEPENDENCIES = @IDEA_O@
|
||||
libcipher_a_LIBADD = @IDEA_O@
|
||||
libcipher_a_DEPENDENCIES = @IDEA_O@ @TIGER_O@
|
||||
libcipher_a_LIBADD = @IDEA_O@ @TIGER_O@
|
||||
|
||||
tiger.o: $(srcdir)/tiger.c
|
||||
`echo $(COMPILE) -c $(srcdir)/tiger.c | sed -e 's/-O[2-9s]*/-O1/g' `
|
||||
|
||||
|
||||
|
@ -95,7 +95,10 @@ load_digest_module (void)
|
||||
|
||||
/* We load them in reverse order so that the most
|
||||
frequently used are the first in the list. */
|
||||
new_list_item (DIGEST_ALGO_TIGER, tiger_get_info);
|
||||
#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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user