projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28edfbd
)
Revert "Merge pull request #202 from magnumripper/master"
author
Jens Steube
<jens.steube@gmail.com>
Thu, 4 Feb 2016 22:32:18 +0000
(23:32 +0100)
committer
Jens Steube
<jens.steube@gmail.com>
Thu, 4 Feb 2016 22:32:18 +0000
(23:32 +0100)
This reverts commit
28edfbd654959e02133501b88187595e5b40fd24
, reversing
changes made to
b6f10a2a81796ed29dd83a8ccb4b334600c9e7cc
.
src/oclHashcat.c
patch
|
blob
|
history
diff --git
a/src/oclHashcat.c
b/src/oclHashcat.c
index
a0eef9d
..
89982b1
100644
(file)
--- a/
src/oclHashcat.c
+++ b/
src/oclHashcat.c
@@
-5940,9
+5940,12
@@
int main (int argc, char **argv)
if (benchmark == 1)
{
- log_error ("ERROR: Using the workload-profile in benchmark mode is not allowed");
+ if (workload_profile != WORKLOAD_PROFILE)
+ {
+ log_error ("ERROR: Using the workload-profile in benchmark mode is not allowed");
- return (-1);
+ return (-1);
+ }
}
if ((workload_profile < 1) || (workload_profile > 3))