mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
* Makefile.am, md.c (load_digest_module): Only build in SHA384/512 and
TIGER if specifically enabled by the 64-bit type check in configure.
This commit is contained in:
parent
911cc7e6ab
commit
fa9600d2c8
@ -1,3 +1,9 @@
|
|||||||
|
2003-02-11 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* Makefile.am, md.c (load_digest_module): Only build in SHA384/512
|
||||||
|
and TIGER if specifically enabled by the 64-bit type check in
|
||||||
|
configure.
|
||||||
|
|
||||||
2003-02-04 David Shaw <dshaw@jabberwocky.com>
|
2003-02-04 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* sha256.c, sha512.c: New.
|
* sha256.c, sha512.c: New.
|
||||||
|
@ -52,14 +52,12 @@ libcipher_a_SOURCES = cipher.c \
|
|||||||
md5.c \
|
md5.c \
|
||||||
rmd160.c \
|
rmd160.c \
|
||||||
sha1.c \
|
sha1.c \
|
||||||
sha256.c \
|
sha256.c
|
||||||
sha512.c \
|
|
||||||
tiger.c
|
|
||||||
|
|
||||||
EXTRA_libcipher_a_SOURCES = idea-stub.c
|
EXTRA_libcipher_a_SOURCES = idea-stub.c tiger.c sha512.c
|
||||||
|
|
||||||
libcipher_a_DEPENDENCIES = @IDEA_O@
|
libcipher_a_DEPENDENCIES = @IDEA_O@ @TIGER_O@ @SHA512_O@
|
||||||
libcipher_a_LIBADD = @IDEA_O@
|
libcipher_a_LIBADD = @IDEA_O@ @TIGER_O@ @SHA512_O@
|
||||||
|
|
||||||
tiger.o: $(srcdir)/tiger.c
|
tiger.o: $(srcdir)/tiger.c
|
||||||
`echo $(COMPILE) -c $(srcdir)/tiger.c | sed -e 's/-O[2-9s]*/-O1/g' `
|
`echo $(COMPILE) -c $(srcdir)/tiger.c | sed -e 's/-O[2-9s]*/-O1/g' `
|
||||||
|
@ -96,12 +96,16 @@ load_digest_module (void)
|
|||||||
|
|
||||||
/* We load them in reverse order so that the most
|
/* We load them in reverse order so that the most
|
||||||
frequently used are the first in the list. */
|
frequently used are the first in the list. */
|
||||||
|
#ifdef USE_TIGER
|
||||||
if (!new_list_item (DIGEST_ALGO_TIGER, tiger_get_info))
|
if (!new_list_item (DIGEST_ALGO_TIGER, tiger_get_info))
|
||||||
BUG();
|
BUG();
|
||||||
|
#endif
|
||||||
|
#ifdef USE_SHA512
|
||||||
if (!new_list_item (DIGEST_ALGO_SHA512, sha512_get_info))
|
if (!new_list_item (DIGEST_ALGO_SHA512, sha512_get_info))
|
||||||
BUG ();
|
BUG ();
|
||||||
if (!new_list_item (DIGEST_ALGO_SHA384, sha384_get_info))
|
if (!new_list_item (DIGEST_ALGO_SHA384, sha384_get_info))
|
||||||
BUG ();
|
BUG ();
|
||||||
|
#endif
|
||||||
if (!new_list_item (DIGEST_ALGO_SHA256, sha256_get_info))
|
if (!new_list_item (DIGEST_ALGO_SHA256, sha256_get_info))
|
||||||
BUG ();
|
BUG ();
|
||||||
if (!new_list_item (DIGEST_ALGO_MD5, md5_get_info))
|
if (!new_list_item (DIGEST_ALGO_MD5, md5_get_info))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user