From 4b12b2cdf356473370450063e8e8ba13387aed59 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 8 Apr 2019 09:47:20 +0200 Subject: [PATCH] unshadow --- armsrc/desfire_crypto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/armsrc/desfire_crypto.c b/armsrc/desfire_crypto.c index 111db131c..e29d46492 100644 --- a/armsrc/desfire_crypto.c +++ b/armsrc/desfire_crypto.c @@ -441,7 +441,7 @@ void *mifare_cryto_postprocess_data(desfiretag_t tag, void *data, size_t *nbytes } do { - uint16_t crc16 = 0x00; + uint16_t crc_16 = 0x00; uint32_t crc; switch (DESFIRE(tag)->authentication_scheme) { case AS_LEGACY: @@ -450,7 +450,7 @@ void *mifare_cryto_postprocess_data(desfiretag_t tag, void *data, size_t *nbytes // - crc = crc16; + crc = crc_16; break; case AS_NEW: end_crc_pos = crc_pos + 4;