aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/md.c')
-rw-r--r--cipher/md.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cipher/md.c b/cipher/md.c
index 73a2b33cf..34888b9a7 100644
--- a/cipher/md.c
+++ b/cipher/md.c
@@ -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))