mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +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:
parent
453e4c8211
commit
0176daa03e
@ -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++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user