aboutsummaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-10-01 20:33:53 +0000
committerWerner Koch <[email protected]>2010-10-01 20:33:53 +0000
commitbfbd80feb95fba36292cd9dab43016f17b1e6972 (patch)
tree9afbfd29e8aeb78fa34a1a49d8b8071554d4f593 /scd
parent* options.skel: Make the example for force-v3-sigs match reality (it (diff)
downloadgnupg-bfbd80feb95fba36292cd9dab43016f17b1e6972.tar.gz
gnupg-bfbd80feb95fba36292cd9dab43016f17b1e6972.zip
Exporting secret keys via gpg-agent is now basically supported.
A couple of forward ported changes. Doc updates.
Diffstat (limited to '')
-rw-r--r--scd/ccid-driver.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c
index 8c362d73c..b71ff6aef 100644
--- a/scd/ccid-driver.c
+++ b/scd/ccid-driver.c
@@ -918,12 +918,13 @@ parse_ccid_descriptor (ccid_driver_t handle,
DEBUGOUT_1 (" bMaxCCIDBusySlots %5u\n", buf[53]);
- if (buf[0] > 54) {
- DEBUGOUT (" junk ");
- for (i=54; i < buf[0]-54; i++)
- DEBUGOUT_CONT_1 (" %02X", buf[i]);
- DEBUGOUT_LF ();
- }
+ if (buf[0] > 54)
+ {
+ DEBUGOUT (" junk ");
+ for (i=54; i < buf[0]-54; i++)
+ DEBUGOUT_CONT_1 (" %02X", buf[i]);
+ DEBUGOUT_LF ();
+ }
if (!have_t1 || !(have_tpdu || handle->apdu_level) || !have_auto_conf)
{