summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2006-04-28 16:32:13 +0200
committerWerner Koch <wk@gnupg.org>2006-04-28 16:32:13 +0200
commitc61489acbfe3fba0c7fa548161cde50554d623ff (patch)
treedd9218a14755ac4650178c7d7c2cedcbed08e905 /include
parentMerged recent changes from 1.4 (diff)
downloadgnupg2-c61489acbfe3fba0c7fa548161cde50554d623ff.tar.xz
gnupg2-c61489acbfe3fba0c7fa548161cde50554d623ff.zip
Fix for sanitize string. Added SHA224
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/cipher.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 0211bd618..3fd3fe48c 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2006-04-28 Werner Koch <wk@g10code.com>
+
+ * cipher.h (DIGEST_ALGO_SHA224): Define it.
+
2006-04-18 Werner Koch <wk@g10code.com>
* keyserver.h, i18n.h, http.h, cipher.h: Updated to gpg 1.4.3.
diff --git a/include/cipher.h b/include/cipher.h
index 681386c36..d8b15cf9a 100644
--- a/include/cipher.h
+++ b/include/cipher.h
@@ -68,6 +68,9 @@
#define DIGEST_ALGO_SHA256 /* 8 */ GCRY_MD_SHA256
#define DIGEST_ALGO_SHA384 /* 9 */ GCRY_MD_SHA384
#define DIGEST_ALGO_SHA512 /* 10 */ GCRY_MD_SHA512
+/* SHA224 is as of now only defined in the libgcrypt SVN; thus we
+ can't use that macro. */
+#define DIGEST_ALGO_SHA224 /* 11 */ 11 /* GCRY_MD_SHA224 */
#define COMPRESS_ALGO_NONE 0
#define COMPRESS_ALGO_ZIP 1