diff options
author | Werner Koch <wk@gnupg.org> | 2007-12-12 11:28:30 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2007-12-12 11:28:30 +0100 |
commit | bae4b256c79c24e5306c692adf9bb5891433c7d5 (patch) | |
tree | c0aae4de008d75964074146240257f81b8ded0b1 /scd | |
parent | Allow decryption using type 20 Elgamal keys. (diff) | |
download | gnupg2-bae4b256c79c24e5306c692adf9bb5891433c7d5.tar.xz gnupg2-bae4b256c79c24e5306c692adf9bb5891433c7d5.zip |
Support DSA2.
Support Camellia for testing.
More audit stuff.
Diffstat (limited to 'scd')
-rw-r--r-- | scd/ChangeLog | 2 | ||||
-rw-r--r-- | scd/app-openpgp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scd/ChangeLog b/scd/ChangeLog index 166f30891..51db189fa 100644 --- a/scd/ChangeLog +++ b/scd/ChangeLog @@ -1,6 +1,6 @@ 2007-12-10 Werner Koch <wk@g10code.com> - * app-openpgp.c (do_decipher): Take care of cryptograms shiorther + * app-openpgp.c (do_decipher): Take care of cryptograms shorter that 128 bytes. Fixes bug#851. 2007-11-14 Werner Koch <wk@g10code.com> diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c index 5cfec0407..e26a31e8d 100644 --- a/scd/app-openpgp.c +++ b/scd/app-openpgp.c @@ -2461,7 +2461,7 @@ do_decipher (app_t app, const char *keyidstr, /* We might encounter a couple of leading zeroes in the cryptogram. Due to internal use of MPIs thease leading - zeroes are stripped. However the OpenPGp card expects + zeroes are stripped. However the OpenPGP card expects exactly 128 bytes for the cryptogram (for a 1k key). Thus we need to fix it up. We do this for up to 16 leading zero bytes; a cryptogram with more than this is with a very high |