mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
scd: Improve reading of binary records.
* scd/iso7816.c (iso7816_read_binary_ext): Handle the 0x6a86 SW the
same as 6b00.
* scd/apdu.c (apdu_get_atr): Modify debug messages.
* scd/app-p15.c (app_select_p15): Print FCI on error.
(read_p15_info): Clean up diag in presence of debug options.
--
Some cards return 6a86 instead of 6b00.
Signed-off-by: Werner Koch <wk@gnupg.org>
Backported-from-master: 44f977d0e3
This commit is contained in:
parent
88606cc484
commit
adf387b3f1
3 changed files with 5 additions and 10 deletions
|
@ -3906,8 +3906,8 @@ read_p15_info (app_t app)
|
|||
log_printf ("\n");
|
||||
}
|
||||
|
||||
log_info ("p15: atr ..........: ");
|
||||
atr = apdu_get_atr (app_get_slot (app), &atrlen);
|
||||
log_info ("p15: atr ..........: ");
|
||||
if (!atr)
|
||||
log_printf ("[error]\n");
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue