summaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-11-25 15:48:20 +0100
committerWerner Koch <wk@gnupg.org>2020-11-25 15:48:20 +0100
commit00037f499db830c75fee2111dfbef72fa11bd98a (patch)
treead77283cd8fb305a52f0ba8d0c51ccd0f5c93166 /scd
parentscd:p15: Improve support for some CardOS based cards. (diff)
downloadgnupg2-00037f499db830c75fee2111dfbef72fa11bd98a.tar.xz
gnupg2-00037f499db830c75fee2111dfbef72fa11bd98a.zip
scd:p15: Print the internal card type.
* scd/app-p15.c (read_ef_tokeninfo): Print the internal card type.
Diffstat (limited to 'scd')
-rw-r--r--scd/app-p15.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/scd/app-p15.c b/scd/app-p15.c
index 3737b85ca..fee04c448 100644
--- a/scd/app-p15.c
+++ b/scd/app-p15.c
@@ -2551,6 +2551,14 @@ read_ef_tokeninfo (app_t app)
n -= objlen;
}
+ if (opt.verbose)
+ {
+ log_info ("p15: cardtype .....: %d.%d\n",
+ app->app_local->card_type,
+ app->app_local->card_product);
+ }
+
+
leave:
xfree (buffer);
return err;