From 5e9d144a530d226ebb0379dd0fa4e0b911ab0910 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Fri, 21 Feb 2003 20:49:58 +0000 Subject: * cipher.c (setup_cipher_table): #ifdef all optional ciphers. * md.c (load_digest_module): #ifdef all optional digests. --- cipher/md.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cipher/md.c') 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)) -- cgit v1.2.3