chg; return codes

This commit is contained in:
iceman1001
2020-06-05 11:05:46 +02:00
parent 4e207da500
commit f354f480de
2 changed files with 31 additions and 35 deletions

View File

@@ -306,10 +306,10 @@ static int EMVExchangeEx(EMVCommandChannel channel, bool ActivateField, bool Lea
}
break;
case ECC_CONTACT:
res = 1;
if (IfPm3Smartcard())
res = ExchangeAPDUSC(true, data, datalen, ActivateField, LeaveFieldON, Result, (int)MaxResultLen, (int *)ResultLen);
else
res = 1;
if (res) {
return res;
}