1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-17 04:08:34 +00:00

Fix benchmark unwanted exit with long running kernels

This commit is contained in:
jsteube 2016-09-22 19:55:35 +02:00
parent 6238aa884b
commit 1e2869e8bd

View File

@ -359,7 +359,7 @@ int choose_kernel (opencl_ctx_t *opencl_ctx, hc_device_param_t *device_param, co
if (user_options->benchmark == true)
{
if (speed_ms > 4096) myabort (opencl_ctx);
if (speed_ms > 4096) return -1;
}
}