Do not silently ignore -w2 for -b. Closes #201.
authormagnum <john.magnum@hushmail.com>
Thu, 4 Feb 2016 22:20:37 +0000 (23:20 +0100)
committermagnum <john.magnum@hushmail.com>
Thu, 4 Feb 2016 22:20:37 +0000 (23:20 +0100)
src/oclHashcat.c

index 89982b1..a0eef9d 100644 (file)
@@ -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))