1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 08:08:10 +00:00

wrap kernel optimization warning

This commit is contained in:
Royce Williams 2020-06-09 11:56:20 -08:00
parent f92df25248
commit cafb3bde0b

View File

@ -354,7 +354,12 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
{
if (hashconfig->has_optimized_kernel == false)
{
if (user_options->quiet == false) event_log_warning (hashcat_ctx, "%s: Optimized kernel requested but not needed - falling back to pure kernel", source_file);
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, NULL);
}
}
else
{