gnupg/cipher (ChangeLog md.c)

cvs user dshaw cvs at cvs.gnupg.org
Wed Dec 1 04:53:55 CET 2004


    Date: Wednesday, December 1, 2004 @ 05:01:16
  Author: dshaw
    Path: /cvs/gnupg/gnupg/cipher

Modified: ChangeLog md.c

* md.c (string_to_digest_algo): Allow read/write SHA384 and SHA512.


-----------+
 ChangeLog |    5 +++++
 md.c      |   15 ---------------
 2 files changed, 5 insertions(+), 15 deletions(-)


Index: gnupg/cipher/ChangeLog
diff -u gnupg/cipher/ChangeLog:1.145 gnupg/cipher/ChangeLog:1.146
--- gnupg/cipher/ChangeLog:1.145	Wed Nov  3 21:03:46 2004
+++ gnupg/cipher/ChangeLog	Wed Dec  1 05:01:16 2004
@@ -1,3 +1,8 @@
+2004-11-30  David Shaw  <dshaw at jabberwocky.com>
+
+	* md.c (string_to_digest_algo): Allow read/write SHA384 and
+	SHA512.
+
 2004-11-03  Timo Schulz  <twoaday at g10code.com>
 
         * idea-stub.c (dlopen, dlsym): Use w32_strerror instead of
Index: gnupg/cipher/md.c
diff -u gnupg/cipher/md.c:1.56 gnupg/cipher/md.c:1.57
--- gnupg/cipher/md.c:1.56	Thu Sep  4 13:53:10 2003
+++ gnupg/cipher/md.c	Wed Dec  1 05:01:16 2004
@@ -124,21 +124,6 @@
 {
     struct md_digest_list_s *r;
 
-    /* Hi there.  I see you changing that code so you can use the new
-       SHA hashes.  Before you do it, please think about it.  There
-       are no official releases of any OpenPGP programs that generate
-       these hashes, and we're trying to get a code base that can
-       understand the hashes before we release one that generates
-       them. - dshaw */
-
-    if(!ascii_strcasecmp("sha384",string)
-       || !ascii_strcasecmp("sha512",string))
-      {
-	log_info(_("digest algorithm `%s' is read-only in this release\n"),
-		 string);
-	return 0;
-      }
-
     do {
 	for(r = digest_list; r; r = r->next )
 	    if( !ascii_strcasecmp( r->name, string ) )




More information about the Gnupg-commits mailing list