1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-14 03:39:09 +00:00

fix bug with -S -O arguments set together

This commit is contained in:
Gabriele Gristina 2019-07-12 23:55:53 +02:00
parent f7898da386
commit 686e722db0

View File

@ -353,7 +353,7 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
{
if (user_options->quiet == false) event_log_warning (hashcat_ctx, "%s: Optimized OpenCL kernel requested but not needed - falling back to pure OpenCL kernel", source_file);
}
else
else if (user_options->slow_candidates == false)
{
hashconfig->opti_type |= OPTI_TYPE_OPTIMIZED_KERNEL;
}