mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-09 22:46:46 +08:00
Merge pull request #1153 from matrix/fix_osx_build_1
Fixed build errors on osx
This commit is contained in:
commit
349ecbd18c
2 changed files with 5 additions and 5 deletions
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue