aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/md.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2006-04-20 02:05:32 +0000
committerDavid Shaw <[email protected]>2006-04-20 02:05:32 +0000
commitf0902a6aef4055030a8487dc21745e4e9cc93e53 (patch)
treededcdbeb9f77beb985c9f0882bc4fb97ee526d0f /cipher/md.c
parent* keyedit.c (menu_backsign): Give some more verbose errors when we (diff)
downloadgnupg-f0902a6aef4055030a8487dc21745e4e9cc93e53.tar.gz
gnupg-f0902a6aef4055030a8487dc21745e4e9cc93e53.zip
Add SHA-224 support
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 7c23bc00e..8faf20831 100644
--- a/cipher/md.c
+++ b/cipher/md.c
@@ -1,5 +1,5 @@
/* md.c - message digest dispatcher
- * Copyright (C) 1998, 1999, 2002, 2003 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2002, 2003, 2006 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -106,6 +106,8 @@ load_digest_module (void)
#ifdef USE_SHA256
if (!new_list_item (DIGEST_ALGO_SHA256, sha256_get_info))
BUG ();
+ if (!new_list_item (DIGEST_ALGO_SHA224, sha224_get_info))
+ BUG ();
#endif
if (!new_list_item (DIGEST_ALGO_MD5, md5_get_info))
BUG ();