aboutsummaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2022-05-05 11:35:56 +0000
committerWerner Koch <[email protected]>2022-05-05 11:35:56 +0000
commit7dc5693926222d97a3dfe55b426d2b41204daa79 (patch)
tree3f4840955f7864a81b758ad9fbc8359f9e2d2fa5 /scd/scdaemon.c
parentscd:openpgp: Fix a segv for cards supporting unknown curves. (diff)
downloadgnupg-7dc5693926222d97a3dfe55b426d2b41204daa79.tar.gz
gnupg-7dc5693926222d97a3dfe55b426d2b41204daa79.zip
scd: New debug flags "card".
* scd/scdaemon.c (debug_flags): Add "card". * scd/scdaemon.h (DBG_CARD_VALUE, DBG_CARD): New. -- Some information from parsing the card are often very helpful. However, the card_io triggered APDU dumps are in most cases too heavy. Thus this new debug flag.
Diffstat (limited to 'scd/scdaemon.c')
-rw-r--r--scd/scdaemon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index 83f24577a..6d068d3d3 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -194,6 +194,7 @@ static struct debug_flags_s debug_flags [] =
{ DBG_MEMSTAT_VALUE, "memstat" },
{ DBG_HASHING_VALUE, "hashing" },
{ DBG_IPC_VALUE , "ipc" },
+ { DBG_CARD_VALUE , "card" },
{ DBG_CARD_IO_VALUE, "cardio" },
{ DBG_READER_VALUE , "reader" },
{ DBG_APP_VALUE , "app" },