From bae4b256c79c24e5306c692adf9bb5891433c7d5 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 12 Dec 2007 10:28:30 +0000 Subject: Support DSA2. Support Camellia for testing. More audit stuff. --- scd/ChangeLog | 2 +- scd/app-openpgp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scd') 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 - * 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 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 -- cgit v1.2.3