diff --git a/client/src/cmdhf14a.c b/client/src/cmdhf14a.c index 8a6ce45ef..1048be3f5 100644 --- a/client/src/cmdhf14a.c +++ b/client/src/cmdhf14a.c @@ -2219,7 +2219,7 @@ static int CmdHf14AFindapdu(const char *Cmd) { bool inc_p1 = true; bool skip_ins = false; - uint64_t all_sw[256][256] = {0}; + uint64_t all_sw[256][256] = { { 0 } }; uint64_t sw_occurences = 0; uint64_t t_start = msclock(); uint64_t t_last_reset = msclock(); diff --git a/client/src/cmdhfemrtd.c b/client/src/cmdhfemrtd.c index 2ba45f5b7..afe5b6b6f 100644 --- a/client/src/cmdhfemrtd.c +++ b/client/src/cmdhfemrtd.c @@ -1777,8 +1777,8 @@ int infoHF_EMRTD(char *documentnumber, char *dob, char *expiry, bool BAC_availab } // Grab the hash list - uint8_t dg_hashes_sod[17][64] = { 0x00 }; - uint8_t dg_hashes_calc[17][64] = { 0x00 }; + uint8_t dg_hashes_sod[17][64] = { { 0 } }; + uint8_t dg_hashes_calc[17][64] = { { 0 } }; int hash_algo = 0; if (!emrtd_select_and_read(response, &resplen, dg_table[EF_SOD].fileid, ks_enc, ks_mac, ssc, BAC, use_14b)) { @@ -1856,8 +1856,8 @@ int infoHF_EMRTD_offline(const char *path) { free(data); // Grab the hash list - uint8_t dg_hashes_sod[17][64] = { 0x00 }; - uint8_t dg_hashes_calc[17][64] = { 0x00 }; + uint8_t dg_hashes_sod[17][64] = { { 0 } }; + uint8_t dg_hashes_calc[17][64] = { { 0 } }; int hash_algo = 0; strcpy(filepath, path);