diff --git a/libfreefare/mifare_desfire_crypto.c b/libfreefare/mifare_desfire_crypto.c index b9a3c71..535ddd3 100644 --- a/libfreefare/mifare_desfire_crypto.c +++ b/libfreefare/mifare_desfire_crypto.c @@ -499,7 +499,7 @@ mifare_cryto_postprocess_data(FreefareTag tag, void *data, ssize_t *nbytes, int break; } - edl = enciphered_data_length(tag, *nbytes - 1, communication_settings); + edl = enciphered_data_length(tag, *nbytes - 1, communication_settings | NO_CRC); if (!(edata = malloc(edl))) abort();