projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cbe234
)
Fix another source of 0H/s in benchmark mode
author
jsteube
<jens.steube@gmail.com>
Mon, 15 Feb 2016 19:32:01 +0000
(20:32 +0100)
committer
jsteube
<jens.steube@gmail.com>
Mon, 15 Feb 2016 19:32:01 +0000
(20:32 +0100)
src/oclHashcat.c
patch
|
blob
|
history
diff --git
a/src/oclHashcat.c
b/src/oclHashcat.c
index
9312087
..
ec9fa8c
100644
(file)
--- a/
src/oclHashcat.c
+++ b/
src/oclHashcat.c
@@
-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;
}
}