1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 12:29:35 +00:00

Fix a bug on CPU-only systems

This commit is contained in:
jsteube 2016-09-29 08:54:07 +02:00
parent 936655e0ee
commit 1cf4b2a093

View File

@ -1514,6 +1514,8 @@ int opencl_ctx_init (opencl_ctx_t *opencl_ctx, const user_options_t *user_option
device_types_filter = CL_DEVICE_TYPE_CPU; device_types_filter = CL_DEVICE_TYPE_CPU;
} }
} }
opencl_ctx->device_types_filter = device_types_filter;
} }
opencl_ctx->platforms_cnt = platforms_cnt; opencl_ctx->platforms_cnt = platforms_cnt;