aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/md.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cipher/md.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cipher/md.c b/cipher/md.c
index 1b139568c..0e5f5f8cd 100644
--- a/cipher/md.c
+++ b/cipher/md.c
@@ -96,7 +96,7 @@ 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
+#ifdef USE_TIGER192
if (!new_list_item (DIGEST_ALGO_TIGER, tiger_get_info))
BUG();
#endif
@@ -106,8 +106,10 @@ load_digest_module (void)
if (!new_list_item (DIGEST_ALGO_SHA384, sha384_get_info))
BUG ();
#endif
+#ifdef USE_SHA256
if (!new_list_item (DIGEST_ALGO_SHA256, sha256_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))