mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-26 16:15:25 -07:00
cov 353927
This commit is contained in:
parent
edb09c4d01
commit
6481142b41
1 changed files with 1 additions and 0 deletions
|
@ -3931,6 +3931,7 @@ static int CmdHF14ADesChangeKey(const char *Cmd) {
|
|||
CLIGetHexWithReturn(ctx, 16, keydata, &keylen);
|
||||
if (keylen && keylen != desfire_get_key_length(newkeytype)) {
|
||||
PrintAndLogEx(ERR, "%s new key must have %d bytes length instead of %d.", CLIGetOptionListStr(DesfireAlgoOpts, newkeytype), desfire_get_key_length(newkeytype), keylen);
|
||||
CLIParserFree(ctx);
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
if (keylen)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue