From bf69afce901ef6da9ef5c389d20f4f136aad2aca Mon Sep 17 00:00:00 2001 From: jsteube Date: Sat, 12 Nov 2016 12:28:47 +0100 Subject: [PATCH] Fix some error check in mpsp.c --- src/mpsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mpsp.c b/src/mpsp.c index 98ba4d719..8ab30fcd6 100644 --- a/src/mpsp.c +++ b/src/mpsp.c @@ -573,7 +573,7 @@ static int mp_setup_usr (hashcat_ctx_t *hashcat_ctx, cs_t *mp_sys, cs_t *mp_usr, { event_log_error (hashcat_ctx, "%s: Custom charset file is corrupted", buf); - if (rc == -1) return -1; + return -1; } const int rc = mp_expand (hashcat_ctx, mp_file, len, mp_sys, mp_usr, index, 0);