1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 20:39:17 +00:00

Do not check for COPY_PW limits in outside kernels

This commit is contained in:
Jens Steube 2019-12-31 21:25:37 +01:00
parent 80a872121a
commit 5d1d48f5d7

View File

@ -9402,13 +9402,16 @@ int backend_session_begin (hashcat_ctx_t *hashcat_ctx)
if (user_options->attack_mode == ATTACK_MODE_STRAIGHT)
{
if (hashconfig->opti_type & OPTI_TYPE_OPTIMIZED_KERNEL)
if (hashconfig->attack_exec == ATTACK_EXEC_INSIDE_KERNEL)
{
// not required
}
else
{
device_param->kernel_threads_max = MIN (device_param->kernel_threads_max, 64);
if (hashconfig->opti_type & OPTI_TYPE_OPTIMIZED_KERNEL)
{
// not required
}
else
{
device_param->kernel_threads_max = MIN (device_param->kernel_threads_max, 64);
}
}
}