aboutsummaryrefslogtreecommitdiffstats
path: root/scd/iso7816.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-11-16 16:04:02 +0000
committerWerner Koch <[email protected]>2023-11-16 16:04:02 +0000
commita33ad8f9bf92d144285769a7d17891c595365fa2 (patch)
tree7c6974cfcd712d9d277715d394b6edd3820a841c /scd/iso7816.c
parentgpg,gpgsm: Hide password in debug output also for asked passwords. (diff)
downloadgnupg-a33ad8f9bf92d144285769a7d17891c595365fa2.tar.gz
gnupg-a33ad8f9bf92d144285769a7d17891c595365fa2.zip
scd: Minor debug output tweak
* scd/apdu.c (send_le): Do not dump "[all zero]" if tehre is no data. * scd/iso7816.c (iso7816_select_mf): Cosmetic fix.
Diffstat (limited to 'scd/iso7816.c')
-rw-r--r--scd/iso7816.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/iso7816.c b/scd/iso7816.c
index 47e16056c..703f1fdab 100644
--- a/scd/iso7816.c
+++ b/scd/iso7816.c
@@ -166,7 +166,7 @@ iso7816_select_mf (int slot)
{
int sw;
- sw = apdu_send_simple (slot, 0, 0x00, CMD_SELECT_FILE, 0x000, 0x0c, -1, NULL);
+ sw = apdu_send_simple (slot, 0, 0x00, CMD_SELECT_FILE, 0x00, 0x0c, -1, NULL);
return map_sw (sw);
}