From 1ba80a6c1edad7c5075091404f10fb212103e550 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Thu, 3 Sep 2020 06:48:07 +0200 Subject: [PATCH] Fixed copy/paste error leading to invalid reassembled passwords added with https://github.com/hashcat/hashcat/commit/a1b5af44330b1ba36eedd3030583f07c6623ee87 --- src/outfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/outfile.c b/src/outfile.c index f68a9f75e..a998a3989 100644 --- a/src/outfile.c +++ b/src/outfile.c @@ -155,7 +155,7 @@ int build_plain (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, pl if (hashconfig->opti_type & OPTI_TYPE_OPTIMIZED_KERNEL) { - if ((user_options->rp_files_cnt == 0) || (user_options->rp_gen == 0)) + if ((user_options->rp_files_cnt == 0) && (user_options->rp_gen == 0)) { for (int i = 0; i < 14; i++) {