diff --git a/client/src/cmdlfindala.c b/client/src/cmdlfindala.c index dd49ed167..059fc45b6 100644 --- a/client/src/cmdlfindala.c +++ b/client/src/cmdlfindala.c @@ -1162,8 +1162,9 @@ int getIndalaBits(uint8_t fc, uint16_t cn, uint8_t *bits) { chk += ((cn >> 5) & 1); //y11 == 67 - 30 = 37 chk += ((cn >> 2) & 1); //y14 == 89 - 30 = 59 chk += (cn & 1); //y16 == 71 - 30 = 41 + chk += ((fc >> 6) & 1); // fc b7 == 49, the five genuine cards on record need it - // as on genuine cards, see issue #2939 + // as on the five genuine cards on record if ((chk & 1) == 0) { // If the sum is even, checksum is '01' (binary) = 1. bits[62] = 0; bits[63] = 1;