bugfix: mftool authenticated only with KEYA
This commit is contained in:
parent
9205db8599
commit
18003a21ab
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ bool read_card()
|
|||
}
|
||||
|
||||
// Try to authenticate for the current sector
|
||||
if (!nfc_initiator_mifare_cmd(pdi,MC_AUTH_A,iBlock,&mp))
|
||||
if (!nfc_initiator_mifare_cmd(pdi,mc,iBlock,&mp))
|
||||
{
|
||||
printf("!\nError: authentication failed for block %02x\n",iBlock);
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue