iso7816_process_fci(): dump the filename in Hex + ASCII instead of just
ASCII in the debug log git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3031 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
11779dce60
commit
45fc350513
|
@ -375,7 +375,11 @@ static int iso7816_process_fci(sc_card_t *card, sc_file_t *file,
|
||||||
}
|
}
|
||||||
name[taglen] = 0;
|
name[taglen] = 0;
|
||||||
if (ctx->debug >= 3)
|
if (ctx->debug >= 3)
|
||||||
sc_debug(ctx, " File name: %s\n", name);
|
{
|
||||||
|
char buf[sizeof(name)*5];
|
||||||
|
sc_hex_dump(ctx, file->name, file->namelen, buf, sizeof(buf));
|
||||||
|
sc_debug(ctx, " File name: %s\n", buf);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
tag = sc_asn1_find_tag(ctx, p, len, 0x85, &taglen);
|
tag = sc_asn1_find_tag(ctx, p, len, 0x85, &taglen);
|
||||||
if (tag != NULL && taglen) {
|
if (tag != NULL && taglen) {
|
||||||
|
|
Loading…
Reference in New Issue