mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 06:13:51 -07:00
Fixes error in key size check in 'hf mfu info' for EV1/NTAG
This commit is contained in:
parent
2e7d1e299d
commit
535fd2aeff
1 changed files with 1 additions and 1 deletions
|
@ -1102,7 +1102,7 @@ static int CmdHF14AMfUInfo(const char *Cmd) {
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
if (ak_len) {
|
if (ak_len) {
|
||||||
if (ak_len != 16 && ak_len != 8) {
|
if (ak_len != 16 && ak_len != 4) {
|
||||||
PrintAndLogEx(WARNING, "ERROR: Key is incorrect length\n");
|
PrintAndLogEx(WARNING, "ERROR: Key is incorrect length\n");
|
||||||
return PM3_EINVARG;
|
return PM3_EINVARG;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue