From 161a6eb4bc643d8e636e96eda613f5137d30da59 Mon Sep 17 00:00:00 2001 From: David Llewellyn-Jones Date: Fri, 26 Aug 2016 18:10:36 +0000 Subject: [PATCH] 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. --- OpenCL/m00060_a1_m.cl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1