From dab40d2dd52c694a5915d47afecf5c284b0025cb Mon Sep 17 00:00:00 2001 From: jsteube Date: Tue, 4 Oct 2016 23:09:12 +0200 Subject: [PATCH] Fix default-mask mode --- src/user_options.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/user_options.c b/src/user_options.c index 9abdc9e9d..e6e4bac80 100644 --- a/src/user_options.c +++ b/src/user_options.c @@ -1026,15 +1026,15 @@ void user_options_preprocess (user_options_t *user_options) if (user_options->attack_mode == ATTACK_MODE_BF) { - if (user_options->benchmark == false) + if (user_options->benchmark == true) { } - else if (user_options->opencl_info == false) + else if (user_options->opencl_info == true) { } - else if (user_options->keyspace == false) + else if (user_options->keyspace == true) { if (user_options->hc_argc == 0) { @@ -1045,7 +1045,7 @@ void user_options_preprocess (user_options_t *user_options) user_options->increment = true; } } - else if (user_options->stdout_flag == false) + else if (user_options->stdout_flag == true) { if (user_options->hc_argc == 0) {