1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 23:19:09 +00:00
This commit is contained in:
jsteube 2017-07-07 00:29:11 +02:00
commit 94b565262a
2 changed files with 9 additions and 1 deletions

View File

@ -25,6 +25,7 @@
## Improvements
##
- OpenCL Runtime: Updated AMD ROCm driver version check, warn if version < 1.1
- WPA cracking: Improved nonce-error-corrections mode to use a both positive and negative corrections
* changes v3.5.0 -> v3.6.0:

View File

@ -3295,8 +3295,15 @@ int opencl_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime)
{
bool amd_warn = true;
const char *t1 = strstr (device_param->driver_version, "(HSA,LC)");
const char *t2 = strstr (device_param->driver_version, "(PAL,LC)");
const char *t3 = strstr (device_param->driver_version, "(PAL,HSAIL)");
const char *t4 = strstr (device_param->driver_version, "(HSA, LC)");
const char *t5 = strstr (device_param->driver_version, "(PAL, LC)");
const char *t6 = strstr (device_param->driver_version, "(PAL, HSAIL)");
#if defined (__linux__)
if (strstr (device_param->driver_version, "(HSA,LC)") == NULL)
if ((t1 == NULL) && (t2 == NULL) && (t3 == NULL) && (t4 == NULL) && (t5 == NULL) && (t6 == NULL))
{
// AMDGPU-PRO Driver 16.40 and higher
if (atoi (device_param->driver_version) >= 2117) amd_warn = false;