changed keyB in line 896 to the correct macro

This commit is contained in:
Jin Jia committed 2023-01-04 07:19:29 +00:00
1 parent 810a89c4df
commit 949ef8435e
1 file changed
+1 -1
+1 -1
View File
@@ -893,7 +893,7 @@ void Mifare1ksim(uint16_t flags, uint8_t exitAfterNReads, uint8_t *datain, uint1
// Compliance of MIFARE Classic EV1 1K Datasheet footnote of Table 8
// If access bits show that key B is Readable, any subsequent memory access will be refused.
if (cardAUTHKEY == keyB && IsKeyBReadable(blockNo)) {
if (cardAUTHKEY == AUTHKEYB && IsKeyBReadable(blockNo)) {
EmSend4bit(mf_crypto1_encrypt4bit(pcs, CARD_NACK_NA));
FpgaDisableTracing();