1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 08:38:09 +00:00

Changed Error message, OpenCL is not the only kernel type

This commit is contained in:
Chick3nman 2019-07-12 13:32:22 -05:00
parent 0b0de6a283
commit fcb100b26c

View File

@ -351,7 +351,7 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
{ {
if (hashconfig->has_optimized_kernel == false) if (hashconfig->has_optimized_kernel == false)
{ {
if (user_options->quiet == false) event_log_warning (hashcat_ctx, "%s: Optimized OpenCL kernel requested but not needed - falling back to pure OpenCL kernel", source_file); if (user_options->quiet == false) event_log_warning (hashcat_ctx, "%s: Optimized kernel requested but not needed - falling back to pure kernel", source_file);
} }
else else
{ {
@ -362,7 +362,7 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
{ {
if (hashconfig->has_pure_kernel == false) if (hashconfig->has_pure_kernel == false)
{ {
if (user_options->quiet == false) event_log_warning (hashcat_ctx, "%s: Pure OpenCL kernel not found, falling back to optimized OpenCL kernel", source_file); if (user_options->quiet == false) event_log_warning (hashcat_ctx, "%s: Pure kernel not found, falling back to optimized kernel", source_file);
hashconfig->opti_type |= OPTI_TYPE_OPTIMIZED_KERNEL; hashconfig->opti_type |= OPTI_TYPE_OPTIMIZED_KERNEL;
} }