1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-17 05:19:46 +00:00

Fix another source of 0H/s in benchmark mode

This commit is contained in:
jsteube 2016-02-15 20:32:01 +01:00
parent 0cbe2347cd
commit bbadabe278

View File

@ -3357,10 +3357,7 @@ static void run_cracker (hc_device_param_t *device_param, const uint pw_cnt, con
* benchmark
*/
if (data.benchmark == 1)
{
data.devices_status = STATUS_BYPASS;
};
if (data.benchmark == 1) break;
}
}
@ -4612,6 +4609,8 @@ static void *thread_calc (void *p)
if (data.devices_status == STATUS_QUIT) break;
if (data.devices_status == STATUS_BYPASS) break;
if (data.benchmark == 1) break;
device_param->words_done = words_fin;
}
}