fix coverity 290271
This commit is contained in:
@@ -1731,7 +1731,7 @@ static int CmdEMVScan(const char *Cmd) {
|
|||||||
if (ODAI_listlen) {
|
if (ODAI_listlen) {
|
||||||
struct tlvdb *oda = tlvdb_fixed(0x21, ODAI_listlen, ODAI_list); // not a standard tag
|
struct tlvdb *oda = tlvdb_fixed(0x21, ODAI_listlen, ODAI_list); // not a standard tag
|
||||||
tlvdb_add(tlvRoot, oda);
|
tlvdb_add(tlvRoot, oda);
|
||||||
PrintAndLogEx(INFO, "Input list for Offline Data Authentication added to TLV [%d bytes]", ODAI_listlen);
|
PrintAndLogEx(INFO, "Input list for Offline Data Authentication added to TLV [%zu bytes]", ODAI_listlen);
|
||||||
}
|
}
|
||||||
|
|
||||||
// getting certificates
|
// getting certificates
|
||||||
@@ -1988,7 +1988,7 @@ static int CmdEMVRoca(const char *Cmd) {
|
|||||||
if (ODAI_listlen) {
|
if (ODAI_listlen) {
|
||||||
struct tlvdb *oda = tlvdb_fixed(0x21, ODAI_listlen, ODAI_list); // not a standard tag
|
struct tlvdb *oda = tlvdb_fixed(0x21, ODAI_listlen, ODAI_list); // not a standard tag
|
||||||
tlvdb_add(tlvRoot, oda);
|
tlvdb_add(tlvRoot, oda);
|
||||||
PrintAndLogEx(INFO, "Input list for Offline Data Authentication added to TLV [%d bytes]", ODAI_listlen);
|
PrintAndLogEx(INFO, "Input list for Offline Data Authentication added to TLV [%zu bytes]", ODAI_listlen);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tlvdb_get(tlvRoot, 0x90, NULL)) {
|
if (tlvdb_get(tlvRoot, 0x90, NULL)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user