diff options
Diffstat (limited to '')
-rw-r--r-- | cipher/ChangeLog | 5 | ||||
-rw-r--r-- | cipher/md.c | 15 |
2 files changed, 5 insertions, 15 deletions
diff --git a/cipher/ChangeLog b/cipher/ChangeLog index c4e57c3d6..082c2581c 100644 --- a/cipher/ChangeLog +++ b/cipher/ChangeLog @@ -1,3 +1,8 @@ +2004-11-30 David Shaw <[email protected]> + + * md.c (string_to_digest_algo): Allow read/write SHA384 and + SHA512. + 2004-11-03 Timo Schulz <[email protected]> * idea-stub.c (dlopen, dlsym): Use w32_strerror instead of diff --git a/cipher/md.c b/cipher/md.c index c18a36092..1821882e9 100644 --- a/cipher/md.c +++ b/cipher/md.c @@ -124,21 +124,6 @@ string_to_digest_algo( const char *string ) { 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 ) ) |