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:
parent
c09bc848f7
commit
72e0553e44
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user