1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 23:19:09 +00:00

Fix for app compilation error on mingw

This commit is contained in:
DoZ10 2017-04-30 21:31:51 -04:00
parent f0f96140b2
commit 98b9e38d54

View File

@ -5307,7 +5307,7 @@ int blake2b_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UN
S->h[7] = blake2b_IV[7]; S->h[7] = blake2b_IV[7];
// XOR P with S // XOR P with S
for (uint i = 0; i < sizeof(blake2_params_t); i++) for (u8 i = 0; i < sizeof(blake2_params_t); i++)
((u8 *)S)[i] ^= ((u8 *)P)[i]; ((u8 *)S)[i] ^= ((u8 *)P)[i];
return (PARSER_OK); return (PARSER_OK);