1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00

fixed crossbuild for mingw/win64 issue #3361

This commit is contained in:
enwony 2022-07-03 02:28:11 +03:00
parent 364f1438a8
commit a3d8a347b2
2 changed files with 4 additions and 4 deletions

View File

@ -57,7 +57,7 @@ u32 module_pw_min (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED con
static u32 polymod_checksum (const u8 *data, const u32 data_len)
{
const u32 CONST[5] = { 0x3b6a57b2, 0x26508e6d, 0x1ea119fa, 0x3d4233dd, 0x2a1462b3 };
const u32 consts[5] = { 0x3b6a57b2, 0x26508e6d, 0x1ea119fa, 0x3d4233dd, 0x2a1462b3 };
u32 c = 1;
@ -73,7 +73,7 @@ static u32 polymod_checksum (const u8 *data, const u32 data_len)
if (bit_set == 0) continue;
c ^= CONST[j];
c ^= consts[j];
}
}

View File

@ -57,7 +57,7 @@ u32 module_pw_min (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED con
static u32 polymod_checksum (const u8 *data, const u32 data_len)
{
const u32 CONST[5] = { 0x3b6a57b2, 0x26508e6d, 0x1ea119fa, 0x3d4233dd, 0x2a1462b3 };
const u32 consts[5] = { 0x3b6a57b2, 0x26508e6d, 0x1ea119fa, 0x3d4233dd, 0x2a1462b3 };
u32 c = 1;
@ -73,7 +73,7 @@ static u32 polymod_checksum (const u8 *data, const u32 data_len)
if (bit_set == 0) continue;
c ^= CONST[j];
c ^= consts[j];
}
}