mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-12 08:41:07 +00:00
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:
parent
15691f230e
commit
59927ac923
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user