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,9 +13587,12 @@ int main (int argc, char **argv)
|
||||
kernel_loops_max = kernel_loops_fixed;
|
||||
}
|
||||
|
||||
if (data.salts_buf[0].salt_iter < kernel_loops_max)
|
||||
if (attack_exec == ATTACK_EXEC_OUTSIDE_KERNEL)
|
||||
{
|
||||
kernel_loops_max = data.salts_buf[0].salt_iter;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user