mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-23 08:38:09 +00:00
fixed crossbuild for mingw/win64 issue #3361
This commit is contained in:
parent
364f1438a8
commit
a3d8a347b2
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user