1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-27 00:48:13 +00:00

Fix --benchmark-all on windows

This commit is contained in:
jsteube 2018-12-30 17:02:11 +01:00
parent 8613e2fc81
commit 8afb54a93b

View File

@ -63,7 +63,11 @@ int benchmark_next (hashcat_ctx_t *hashcat_ctx)
for (int i = cur; i < 99999; i++)
{
#if defined (_WIN)
snprintf (modulefile, HCBUFSIZ_TINY, "%s/modules/module_%05d.dll", folder_config->shared_dir, i);
#else
snprintf (modulefile, HCBUFSIZ_TINY, "%s/modules/module_%05d.so", folder_config->shared_dir, i);
#endif
if (hc_path_exist (modulefile) == true)
{