diff options
author | Werner Koch <wk@gnupg.org> | 2020-11-25 15:48:20 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-11-25 15:48:20 +0100 |
commit | 00037f499db830c75fee2111dfbef72fa11bd98a (patch) | |
tree | ad77283cd8fb305a52f0ba8d0c51ccd0f5c93166 /scd | |
parent | scd:p15: Improve support for some CardOS based cards. (diff) | |
download | gnupg2-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.c | 8 |
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; |