mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-07 16:48:15 +08:00
cppchecker
This commit is contained in:
parent
5c1b99b048
commit
295286e68a
1 changed files with 3 additions and 4 deletions
|
@ -439,8 +439,6 @@ int EMVSearchPSE(EMVCommandChannel channel, bool ActivateField, bool LeaveFieldO
|
||||||
size_t sfidatalen[0x11] = {0};
|
size_t sfidatalen[0x11] = {0};
|
||||||
uint16_t sw = 0;
|
uint16_t sw = 0;
|
||||||
int res;
|
int res;
|
||||||
bool fileFound = false;
|
|
||||||
|
|
||||||
const char *PSE_or_PPSE = PSENum == 1 ? "PSE" : "PPSE";
|
const char *PSE_or_PPSE = PSENum == 1 ? "PSE" : "PPSE";
|
||||||
|
|
||||||
// select PPSE
|
// select PPSE
|
||||||
|
@ -452,8 +450,9 @@ int EMVSearchPSE(EMVCommandChannel channel, bool ActivateField, bool LeaveFieldO
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct tlvdb *t = NULL;
|
bool fileFound = false;
|
||||||
t = tlvdb_parse_multi(data, datalen);
|
|
||||||
|
struct tlvdb *t = tlvdb_parse_multi(data, datalen);
|
||||||
if (t) {
|
if (t) {
|
||||||
// PSE/PPSE with SFI
|
// PSE/PPSE with SFI
|
||||||
struct tlvdb *tsfi = tlvdb_find_path(t, (tlv_tag_t[]) {0x6f, 0xa5, 0x88, 0x00});
|
struct tlvdb *tsfi = tlvdb_find_path(t, (tlv_tag_t[]) {0x6f, 0xa5, 0x88, 0x00});
|
||||||
|
|
Loading…
Reference in a new issue