From 59927ac9230a62e05ab161236ef5ac5dc93a1776 Mon Sep 17 00:00:00 2001 From: Chick3nman Date: Tue, 26 Sep 2017 12:31:29 -0500 Subject: [PATCH] Switch hash-mode in benchmark from DEBUG to Production moved event_log_info (hashcat_ctx, "Hashmode: %d", hashconfig->hash_mode); to Production segment, skipping DEBUG check --- src/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index 0a044adcb..2c57cc3db 100644 --- a/src/main.c +++ b/src/main.c @@ -439,6 +439,7 @@ static void main_outerloop_mainscreen (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, char *hash_type = strhashtype (hashconfig->hash_mode); // not a bug event_log_info (hashcat_ctx, "Hashtype: %s", hash_type); + event_log_info (hashcat_ctx, "Hashmode: %d", hashconfig->hash_mode); event_log_info (hashcat_ctx, NULL); } } @@ -527,9 +528,6 @@ static void main_outerloop_mainscreen (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, event_log_info (hashcat_ctx, NULL); - #if defined (DEBUG) - if (user_options->benchmark == true) event_log_info (hashcat_ctx, "Hashmode: %d", hashconfig->hash_mode); - #endif } static void main_opencl_session_pre (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYBE_UNUSED const void *buf, MAYBE_UNUSED const size_t len)