mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-24 05:12:05 +00:00
Merge pull request #202 from magnumripper/master
Do not silently ignore -w2 for -b. Closes #201.
This commit is contained in:
commit
28edfbd654
@ -5940,12 +5940,9 @@ int main (int argc, char **argv)
|
|||||||
|
|
||||||
if (benchmark == 1)
|
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))
|
if ((workload_profile < 1) || (workload_profile > 3))
|
||||||
|
Loading…
Reference in New Issue
Block a user