Remove an irrelevant FIXME.
The check is already done by the PICC and we may not have access to the required information to do the check from the library. Additionally, the mifare_desfire_change_key() would require different keys to operate if we detected an error, so no recovery of any kind is possible.
This commit is contained in:
parent
878af0e22a
commit
8171dd3960
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ mifare_desfire_change_key (MifareTag tag, uint8_t key_no, MifareDESFireKey new_k
|
||||||
|
|
||||||
uint8_t data[24];
|
uint8_t data[24];
|
||||||
|
|
||||||
if ((MIFARE_DESFIRE (tag)->authenticated_key_no != key_no) /* FIXME && (ChangeKey key != 0x0E)*/) {
|
if (MIFARE_DESFIRE (tag)->authenticated_key_no != key_no) {
|
||||||
if (old_key) {
|
if (old_key) {
|
||||||
memcpy (data, old_key->data, 16);
|
memcpy (data, old_key->data, 16);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue