From 686e722db0ff24f49d0cbb046e60d46a9a664173 Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Fri, 12 Jul 2019 23:55:53 +0200 Subject: [PATCH] fix bug with -S -O arguments set together --- src/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.c b/src/interface.c index 442076317..c908d9c0c 100644 --- a/src/interface.c +++ b/src/interface.c @@ -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; }