diff options
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 <[email protected]> - * 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 <[email protected]> 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 |