]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: mental note to self, don't code when tried. "size" should have been "sizeof...
authoriceman1001 <iceman@iuse.se>
Tue, 2 Aug 2016 22:51:26 +0000 (00:51 +0200)
committericeman1001 <iceman@iuse.se>
Tue, 2 Aug 2016 22:51:26 +0000 (00:51 +0200)
armsrc/iso14443b.c

index cccf0dd6744c4ffc772ee6c73cb15d99b620c0f7..e89c3becdd8a8777c91c1dce13dded2003e0775f 100644 (file)
@@ -556,7 +556,7 @@ void SimulateIso14443bTag(uint32_t pupi) {
 
        // ...PUPI/UID supplied from user. Adjust ATQB response accordingly
        if ( pupi > 0 ) {
-               uint8_t len = size(respATQB);
+               uint8_t len = sizeof(respATQB);
                num_to_bytes(pupi, 4, respATQB+1);
                ComputeCrc14443(CRC_14443_B, respATQB, 12, &respATQB[len-2], &respATQB[len-1]);
        }
Impressum, Datenschutz