minor bug fix

This commit is contained in:
tcprst 2020-11-27 21:23:28 -05:00
commit ee7ad062f2
No known key found for this signature in database
GPG key ID: 9145EAF5121AED25

View file

@ -1286,7 +1286,7 @@ static int CmdHFiClassDump(const char *Cmd) {
if (credit_key_len > 0) {
auth = true;
have_credit_key = true;
if (key_len != 8) {
if (credit_key_len != 8) {
PrintAndLogEx(ERR, "Credit key is incorrect length");
CLIParserFree(ctx);
return PM3_EINVARG;