From c930078036cfdf38ca1c922c0d1841722c48a611 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 15 Feb 2017 02:46:09 +0100 Subject: [PATCH] FIX: wrong variable name. --- armsrc/emvutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;} -- 2.39.5