diff options
author | Werner Koch <wk@gnupg.org> | 2009-01-21 17:46:55 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2009-01-21 17:46:55 +0000 |
commit | a88d016d89b3c9cb9bb0d973be43127b0afdf1af (patch) | |
tree | 092d3cac035ed65c3ecd924d9d907710dc4a2f58 /cipher | |
parent | bf415db4f48a1d7e50c25a1bfa8cb252b37eb6dd (diff) | |
download | libgcrypt-a88d016d89b3c9cb9bb0d973be43127b0afdf1af.tar.gz |
Fix for dsa signature verifciation in fipsdrv.
Other small changes.
Diffstat (limited to 'cipher')
-rw-r--r-- | cipher/ChangeLog | 6 | ||||
-rw-r--r-- | cipher/rmd160.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/cipher/ChangeLog b/cipher/ChangeLog index 9952551a..8c7e1b46 100644 --- a/cipher/ChangeLog +++ b/cipher/ChangeLog @@ -1,3 +1,7 @@ +2009-01-06 Werner Koch <wk@g10code.com> + + * rmd160.c (oid_spec_rmd160): Add TeleTrust identifier. + 2008-12-10 Werner Koch <wk@g10code.com> * dsa.c (generate): Add arg DOMAIN and use it if specified. @@ -3881,7 +3885,7 @@ Mon Feb 16 10:08:47 1998 Werner Koch (wk@isil.d.shuttle.de) Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006 - 2007, 2008 Free Software Foundation, Inc. + 2007, 2008, 2009 Free Software Foundation, Inc. This file is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without diff --git a/cipher/rmd160.c b/cipher/rmd160.c index 5a0c1fc1..7805bf53 100644 --- a/cipher/rmd160.c +++ b/cipher/rmd160.c @@ -559,7 +559,9 @@ static gcry_md_oid_spec_t oid_spec_rmd160[] = { /* rsaSignatureWithripemd160 */ { "1.3.36.3.3.1.2" }, - { NULL }, + /* TeleTrust hash algorithm. */ + { "1.3.36.3.2.1" }, + { NULL } }; gcry_md_spec_t _gcry_digest_spec_rmd160 = |