From 60242cd7c4c87b87f58f1405dc82a3fb2d8b25aa Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Mon, 26 Sep 2022 19:46:12 +0300 Subject: [PATCH] =?UTF-8?q?fix=20nfc=20device=20typo,=20doesn=E2=80=99t=20?= =?UTF-8?q?affect=20resulting=20keys?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/nfc/nfc_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nfc/nfc_device.c b/lib/nfc/nfc_device.c index dd78e2daf..45d05a55b 100644 --- a/lib/nfc/nfc_device.c +++ b/lib/nfc/nfc_device.c @@ -925,7 +925,7 @@ static bool nfc_device_save_mifare_classic_keys(NfcDevice* dev) { flipper_format_write_hex(file, string_get_cstr(temp_str), sec_tr->key_a, 6); } if(!key_save_success) break; - if(FURI_BIT(data->key_a_mask, i)) { + if(FURI_BIT(data->key_b_mask, i)) { string_printf(temp_str, "Key B sector %d", i); key_save_success = flipper_format_write_hex(file, string_get_cstr(temp_str), sec_tr->key_b, 6);