1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-16 19:58:25 +00:00

Fixed a missing condition

This commit is contained in:
Jens Steube 2016-02-14 15:50:29 +01:00
parent c09bc848f7
commit 72e0553e44

View File

@ -13587,10 +13587,13 @@ int main (int argc, char **argv)
kernel_loops_max = kernel_loops_fixed;
}
if (attack_exec == ATTACK_EXEC_OUTSIDE_KERNEL)
{
if (data.salts_buf[0].salt_iter < kernel_loops_max)
{
kernel_loops_max = data.salts_buf[0].salt_iter;
}
}
device_param->kernel_loops_min = kernel_loops_min;
device_param->kernel_loops_max = kernel_loops_max;