aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/md.c')
-rw-r--r--cipher/md.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cipher/md.c b/cipher/md.c
index 512f310fe..8a6b1d415 100644
--- a/cipher/md.c
+++ b/cipher/md.c
@@ -100,10 +100,12 @@ load_digest_module (void)
if (!new_list_item (DIGEST_ALGO_TIGER, tiger_get_info))
BUG();
#endif
+#ifdef USE_SHA512
if (!new_list_item (DIGEST_ALGO_SHA512, sha512_get_info))
BUG ();
if (!new_list_item (DIGEST_ALGO_SHA384, sha384_get_info))
BUG ();
+#endif
if (!new_list_item (DIGEST_ALGO_SHA256, sha256_get_info))
BUG ();
if (!new_list_item (DIGEST_ALGO_MD5, md5_get_info))