Enabling RELEASE_KERNEL breaks build
GPU accelerated password cracking tools
Brought to you by:
bitferret
When enabling RELEASE_KERNEL in MFNHashTypePlainOpenCL_MD5, NTLM, SMD5 and Salted_OpenCL_MD5_PS it breaks compilation because of undefined reference in getDefineString() to the variable in the matching MFNHashTypePlainOpenCL_MD5(or what ever hash)_source header file.
A simple fix is to change the variable name in the source header and in the CPP that refer to the variable in the header after running CMake
//MFNHashTypePlainOpenCL_MD5
#if RELEASE_KERNEL
// UGLY HACK!
additionalDefines += std::string(MFNHashTypePlainOpenCL_MD5_source, sizeof(MFNHashTypePlainOpenCL_MD5_source));
#endif
//MFNHashTypePlainOpenCL_MD5_source.h
char MFNHashTypePlainOpenCL_MD5[] = {....}