From: iceman1001 Date: Wed, 15 Feb 2017 01:46:09 +0000 (+0100) Subject: FIX: wrong variable name. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/c930078036cfdf38ca1c922c0d1841722c48a611 FIX: wrong variable name. --- diff --git a/armsrc/emvutil.c b/armsrc/emvutil.c index 9b07cfa2..2f6d3f8a 100644 --- a/armsrc/emvutil.c +++ b/armsrc/emvutil.c @@ -249,7 +249,7 @@ int emv_lookuptag(uint8_t* tag, emvtags *currentcard, uint8_t* outputval, uint8_ returnedlength = currentcard->tag_9F12_len; goto exitfunction;} else if(*(tag+1) == 0x1A){ memcpy(&returnedtag, currentcard->tag_9F1A, sizeof(currentcard->tag_9F1A)); - returnlength = sizeof(currentcard->tag_9F1A); goto exitfunction;} + returnedlength = sizeof(currentcard->tag_9F1A); goto exitfunction;} else if(*(tag+1) == 0x1F){ memcpy(&returnedtag, currentcard->tag_9F1F, currentcard->tag_9F1F_len); returnedlength = currentcard->tag_9F1F_len; goto exitfunction;}