1
mirror of https://github.com/hashcat/hashcat synced 2024-12-01 20:18:12 +01:00

Fix some clSetKernelArg() size error that caused slow modes to not work anymore in -a 1 mode

This commit is contained in:
jsteube 2016-10-03 20:07:26 +02:00
parent 94eab8a7b6
commit d80653b014

View File

@ -4673,7 +4673,7 @@ int opencl_session_update_combinator (opencl_ctx_t *opencl_ctx, const hashconfig
if (hashconfig->attack_exec == ATTACK_EXEC_OUTSIDE_KERNEL)
{
CL_err = hc_clSetKernelArg (opencl_ctx->ocl, device_param->kernel_amp, 5, sizeof (cl_mem), device_param->kernel_params_amp[5]);
CL_err = hc_clSetKernelArg (opencl_ctx->ocl, device_param->kernel_amp, 5, sizeof (cl_uint), device_param->kernel_params_amp[5]);
if (CL_err != CL_SUCCESS)
{