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

pull/3704/head
jsteube 1 year ago
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…
Cancel
Save