X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/65cdf0e3f9598e17c7cd0570ca616f51eec11725..e8fecd72bc1cb2dc7f48360391f918631e53e965:/armsrc/iso14443b.c diff --git a/armsrc/iso14443b.c b/armsrc/iso14443b.c index cccf0dd6..e89c3bec 100644 --- a/armsrc/iso14443b.c +++ b/armsrc/iso14443b.c @@ -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]); }