1
mirror of https://github.com/hashcat/hashcat synced 2024-12-23 14:13:43 +01:00

Fix missing KERN3 use if using OPTS_TYPE_DEEP_COMP_KERNEL

This commit is contained in:
jsteube 2019-02-07 17:14:10 +01:00
parent 6a33be5ea5
commit 2734464cd1

View File

@ -466,6 +466,12 @@ static int selftest (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param
{
CL_rc = run_kernel (hashcat_ctx, device_param, KERN_RUN_AUX3, 1, false, 0);
if (CL_rc == -1) return -1;
}
else
{
CL_rc = run_kernel (hashcat_ctx, device_param, KERN_RUN_3, 1, false, 0);
if (CL_rc == -1) return -1;
}
}