1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-11 08:10:59 +00:00

Revert "Merge pull request #202 from magnumripper/master"

This reverts commit 28edfbd654, reversing
changes made to b6f10a2a81.
This commit is contained in:
Jens Steube 2016-02-04 23:32:18 +01:00
parent 28edfbd654
commit 6c5938201b

View File

@ -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))