Skip to content

Commit

Permalink
Merge pull request RfidResearchGroup#1180 from adadnc/master
Browse files Browse the repository at this point in the history
Fixes error in key size check in 'hf mfu info' for EV1/NTAG
  • Loading branch information
iceman1001 authored Feb 8, 2021
2 parents 2e7d1e2 + 535fd2a commit d405103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/cmdhfmfu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ static int CmdHF14AMfUInfo(const char *Cmd) {
CLIParserFree(ctx);

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");
return PM3_EINVARG;
}
Expand Down

0 comments on commit d405103

Please sign in to comment.