added 1 byte after apdu in select command (Le == 0)

This commit is contained in:
merlokk 2017-11-19 19:45:40 +02:00
commit 3d077d3d34

View file

@ -155,9 +155,9 @@ int EMVSelect(bool ActivateField, bool LeaveFieldON, uint8_t *AID, size_t AIDLen
DropField();
if (APDULogging)
PrintAndLog(">>>> %s", sprint_hex(data, AIDLen + 5));
PrintAndLog(">>>> %s", sprint_hex(data, AIDLen + 6));
int res = ExchangeAPDU14a(data, AIDLen + 5, ActivateField, LeaveFieldON, Result, (int *)ResultLen);
int res = ExchangeAPDU14a(data, AIDLen + 6, ActivateField, LeaveFieldON, Result, (int *)ResultLen);
if (APDULogging)
PrintAndLog("<<<< %s", sprint_hex(Result, *ResultLen));