From ee3b5da25b7a3bbe996eb3942375dd8254a2b9c0 Mon Sep 17 00:00:00 2001 From: Marcus T Date: Tue, 20 Oct 2020 13:56:39 -0400 Subject: [PATCH 1/2] Improve warning message wording The current warning message makes it sound like the optimized kernel exists but isn't being used. This rewording makes it clear that the optimized kernel simply doesn't exist. --- src/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.c b/src/interface.c index 64995a90b..22b25a71b 100644 --- a/src/interface.c +++ b/src/interface.c @@ -342,7 +342,7 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx) if (user_options->quiet == false) { event_log_warning (hashcat_ctx, "Kernel %s:", source_file); - event_log_warning (hashcat_ctx, "Optimized kernel requested but not needed - falling back to pure kernel"); + event_log_warning (hashcat_ctx, "Optimized kernel requested but not available - falling back to pure kernel"); event_log_warning (hashcat_ctx, NULL); } } From 5919641285666126cd2f904ca24c2aaa6e24af95 Mon Sep 17 00:00:00 2001 From: Marcus T Date: Wed, 21 Oct 2020 16:23:38 -0400 Subject: [PATCH 2/2] Improve warning message wording The comments earlier in the file indicate an optimized kernel may be listed as unavailable either because A) it doesn't exist or B) provides no benefit. This updates the warning message to make that more clear. --- src/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.c b/src/interface.c index 22b25a71b..4cacc7cb0 100644 --- a/src/interface.c +++ b/src/interface.c @@ -342,7 +342,7 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx) if (user_options->quiet == false) { event_log_warning (hashcat_ctx, "Kernel %s:", source_file); - event_log_warning (hashcat_ctx, "Optimized kernel requested but not available - falling back to pure kernel"); + event_log_warning (hashcat_ctx, "Optimized kernel requested but not available or not required - falling back to pure kernel"); event_log_warning (hashcat_ctx, NULL); } }