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
This commit is contained in:
Chick3nman
2017-09-26 12:31:29 -05:00
committed by GitHub
parent 15691f230e
commit 59927ac923

View File

@@ -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)