1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 14:48:12 +00:00

Fix a bug in self-test section. Hashcat used the salt_repeat value of the first hash not the self-test hash

This commit is contained in:
jsteube 2023-04-29 19:16:17 +00:00
parent 453e4c8211
commit 0176daa03e

View File

@ -624,7 +624,7 @@ static int selftest (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param
salt_t *salt_buf = &hashes->st_salts_buf[salt_pos];
const u32 salt_repeats = hashes->salts_buf[salt_pos].salt_repeats;
const u32 salt_repeats = salt_buf->salt_repeats;
for (u32 salt_repeat = 0; salt_repeat <= salt_repeats; salt_repeat++)
{