From 947a927ed2fddc95234ec17ed8946fbb25312b3b Mon Sep 17 00:00:00 2001 From: magnum Date: Thu, 4 Feb 2016 23:20:37 +0100 Subject: [PATCH] Do not silently ignore -w2 for -b. Closes #201. --- src/oclHashcat.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/oclHashcat.c b/src/oclHashcat.c index 89982b13c..a0eef9d9a 100644 --- a/src/oclHashcat.c +++ b/src/oclHashcat.c @@ -5940,12 +5940,9 @@ int main (int argc, char **argv) if (benchmark == 1) { - if (workload_profile != WORKLOAD_PROFILE) - { - log_error ("ERROR: Using the workload-profile in benchmark mode is not allowed"); + log_error ("ERROR: Using the workload-profile in benchmark mode is not allowed"); - return (-1); - } + return (-1); } if ((workload_profile < 1) || (workload_profile > 3))