1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-22 13:40:56 +00:00

Merge pull request #3362 from enwony/master

fixed crossbuild for mingw/win64 issue #3361
This commit is contained in:
Jens Steube 2022-07-09 23:21:09 +02:00 committed by GitHub
commit 92035a7c56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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];
}
}