opensc-explorer: in 'asn1' command print raw content of the ASN1_APPLICATION data

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5055 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
vtarasov 2011-01-07 09:00:39 +00:00
parent 6af2bc07c3
commit e600a1e0ac
1 changed files with 4 additions and 0 deletions

View File

@ -284,6 +284,10 @@ static void print_tags_recursive(const u8 * buf0, const u8 * buf,
}
printf("]");
}
if ((cla & SC_ASN1_TAG_CLASS) == SC_ASN1_TAG_APPLICATION)
printf(" <raw content> [%s]", sc_dump_hex(tagp, len));
putchar('\n');
}
return;