From: David Llewellyn-Jones Date: Fri, 26 Aug 2016 18:10:36 +0000 (+0000) Subject: Fix m 60 a 0 by making modified variable non-const X-Git-Url: https://www.flypig.org.uk/git/?p=hashcat.git;a=commitdiff_plain;h=161a6eb4bc643d8e636e96eda613f5137d30da59 Fix m 60 a 0 by making modified variable non-const The pw_len variable is a constant in the standard version. When adding the mangle code it needs to be modified, so the const should have been removed. --- diff --git a/OpenCL/m00060_a1_m.cl b/OpenCL/m00060_a1_m.cl index 4f50e76..2fce0ac 100644 --- a/OpenCL/m00060_a1_m.cl +++ b/OpenCL/m00060_a1_m.cl @@ -295,7 +295,7 @@ __kernel void m00060_m04 (__global pw_t *pws, __global kernel_rule_t *rules_buf, { const u32x pw_r_len = pwlenx_create_combt (combs_buf, il_pos); - const u32x pw_len = pw_l_len + pw_r_len; + u32x pw_len = pw_l_len + pw_r_len; /** * concat password candidate @@ -497,7 +497,7 @@ __kernel void m00060_s04 (__global pw_t *pws, __global kernel_rule_t *rules_buf, { const u32x pw_r_len = pwlenx_create_combt (combs_buf, il_pos); - const u32x pw_len = pw_l_len + pw_r_len; + u32x pw_len = pw_l_len + pw_r_len; /** * concat password candidate