diff --git a/client/emv/apduinfo.c b/client/emv/apduinfo.c index 2449391b7..48e97622b 100644 --- a/client/emv/apduinfo.c +++ b/client/emv/apduinfo.c @@ -472,7 +472,7 @@ int APDUEncodeS(sAPDU *sapdu, bool extended, uint16_t le, uint8_t *data, int *le return 10; APDUStruct apdu; - + apdu.cla = sapdu->CLA; apdu.ins = sapdu->INS; apdu.p1 = sapdu->P1; @@ -484,10 +484,10 @@ int APDUEncodeS(sAPDU *sapdu, bool extended, uint16_t le, uint8_t *data, int *le else apdu.data = NULL; apdu.le = le; - + apdu.extended_apdu = extended; apdu.case_type = 0x00; - + return APDUEncode(&apdu, data, len); } diff --git a/client/emv/cmdemv.c b/client/emv/cmdemv.c index 5ac9adb00..0cf177620 100644 --- a/client/emv/cmdemv.c +++ b/client/emv/cmdemv.c @@ -829,7 +829,7 @@ static int CmdEMVExec(const char *Cmd) { PrintAndLogEx(NORMAL, "\n* PPSE."); SetAPDULogging(showAPDU); res = EMVSearchPSE(channel, activateField, true, psenum, decodeTLV, tlvSelect); - + // check PPSE instead of PSE and vice versa if (res) { PrintAndLogEx(NORMAL, "Check PPSE instead of PSE and vice versa...");