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:
Romain Tartiere 2010-08-31 10:20:24 +00:00
parent 878af0e22a
commit 8171dd3960

View file

@ -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 {