print attributes refactoring
This commit is contained in:
1 parent
fd3b7413c3
commit
6637eb0f3f
3 files changed
+82
-41
No files matched your search
@@ -1042,17 +1042,8 @@ static int CmdHFCipurseCreateDGI(const char *Cmd) {
|
||||
CLIParserFree(ctx);
|
||||
SetAPDULogging(APDULogging);
|
||||
|
||||
if (verbose && hdatalen > 3) {
|
||||
if (hdata[0] == 0x92 && hdata[1] == 0x00)
|
||||
PrintAndLogEx(INFO, "DGI 9200 - ADF file attributes");
|
||||
if (hdata[0] == 0x92 && hdata[1] == 0x01) {
|
||||
PrintAndLogEx(INFO, "DGI 9201 - EF file attributes");
|
||||
PrintAndLogEx(INFO, "File type:");
|
||||
CIPURSEPrintFileDescriptor(hdata[3]);
|
||||
}
|
||||
if (hdata[0] == 0xa0 && hdata[1] == 0x0f)
|
||||
PrintAndLogEx(INFO, "DGI a00f - All key values");
|
||||
}
|
||||
if (verbose && hdatalen > 3)
|
||||
CIPURSEPrintDGI(hdata, hdatalen);
|
||||
|
||||
uint8_t buf[APDU_RES_LEN] = {0};
|
||||
size_t len = 0;
|
||||
|
||||
Reference in new issue
Block a user