From: iceman1001 Date: Sun, 10 Apr 2016 10:29:38 +0000 (+0200) Subject: FIX: how to break a working thing by being blind... X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/cb832982c9402c6773d2fbef5b4d1679d8286163?ds=inline FIX: how to break a working thing by being blind... --- diff --git a/armsrc/crapto1.h b/armsrc/crapto1.h index 4d5fec0f..54d66c28 100644 --- a/armsrc/crapto1.h +++ b/armsrc/crapto1.h @@ -88,7 +88,7 @@ static inline int filter(uint32_t const x) f |= 0x3c8b0 >> (x >> 8 & 0xf) & 4; f |= 0x1e458 >> (x >> 12 & 0xf) & 2; f |= 0x0d938 >> (x >> 16 & 0xf) & 1; - return BIT(0xEC57E80A, 0xf); + return BIT(0xEC57E80A, f); } #ifdef __cplusplus }