make style

This commit is contained in:
merlokk 2019-07-16 18:05:36 +03:00
commit 638d698445
2 changed files with 4 additions and 4 deletions

View file

@ -472,7 +472,7 @@ int APDUEncodeS(sAPDU *sapdu, bool extended, uint16_t le, uint8_t *data, int *le
return 10; return 10;
APDUStruct apdu; APDUStruct apdu;
apdu.cla = sapdu->CLA; apdu.cla = sapdu->CLA;
apdu.ins = sapdu->INS; apdu.ins = sapdu->INS;
apdu.p1 = sapdu->P1; apdu.p1 = sapdu->P1;
@ -484,10 +484,10 @@ int APDUEncodeS(sAPDU *sapdu, bool extended, uint16_t le, uint8_t *data, int *le
else else
apdu.data = NULL; apdu.data = NULL;
apdu.le = le; apdu.le = le;
apdu.extended_apdu = extended; apdu.extended_apdu = extended;
apdu.case_type = 0x00; apdu.case_type = 0x00;
return APDUEncode(&apdu, data, len); return APDUEncode(&apdu, data, len);
} }

View file

@ -829,7 +829,7 @@ static int CmdEMVExec(const char *Cmd) {
PrintAndLogEx(NORMAL, "\n* PPSE."); PrintAndLogEx(NORMAL, "\n* PPSE.");
SetAPDULogging(showAPDU); SetAPDULogging(showAPDU);
res = EMVSearchPSE(channel, activateField, true, psenum, decodeTLV, tlvSelect); res = EMVSearchPSE(channel, activateField, true, psenum, decodeTLV, tlvSelect);
// check PPSE instead of PSE and vice versa // check PPSE instead of PSE and vice versa
if (res) { if (res) {
PrintAndLogEx(NORMAL, "Check PPSE instead of PSE and vice versa..."); PrintAndLogEx(NORMAL, "Check PPSE instead of PSE and vice versa...");