mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
the last part
This commit is contained in:
parent
d939d025b0
commit
09320b911e
1 changed files with 1 additions and 3 deletions
|
@ -4553,9 +4553,7 @@ static int CmdHF14ADesCreateTrMACFile(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t keyver = 0x00;
|
uint32_t keyver = 0x00;
|
||||||
res = arg_get_u32_hexstr_def_nlen(ctx, 21, 0x00, &keyver, 1, true);
|
if (CLIGetUint32Hex(ctx, 21, 0x00, &keyver, NULL, 1, "Key version must have 1 bytes length")) {
|
||||||
if (res == 2) {
|
|
||||||
PrintAndLogEx(ERR, "Key version must be 1 byte length");
|
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
return PM3_EINVARG;
|
return PM3_EINVARG;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue