Merge pull request #1965 from PiervitoCreanza/master

Fix wrong variable assignment
This commit is contained in:
Iceman 2023-04-15 20:26:59 +02:00 committed by GitHub
commit 8f7eae12f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7986,7 +7986,7 @@ static int CmdHF14AMfValue(const char *Cmd) {
PrintAndLogEx(WARNING, "Input key type must be A or B");
return PM3_EINVARG;
} else if (arg_get_lit(ctx, 10)) {
keytype = MF_KEY_B;;
transferkeytype = MF_KEY_B;;
}
int keylen = 0;