mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
bad comparission
This commit is contained in:
parent
dce51f34ed
commit
52b90d3d6b
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ void ClearAuthData() {
|
||||||
|
|
||||||
uint8_t iso14443A_CRC_check(bool isResponse, uint8_t *d, uint8_t n) {
|
uint8_t iso14443A_CRC_check(bool isResponse, uint8_t *d, uint8_t n) {
|
||||||
if (n < 3) return 2;
|
if (n < 3) return 2;
|
||||||
if (isResponse & (n < 6)) return 2;
|
if (isResponse && (n < 6)) return 2;
|
||||||
return check_crc(CRC_14443_A, d, n);
|
return check_crc(CRC_14443_A, d, n);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue