mirror of
https://github.com/hashcat/hashcat
synced 2025-03-30 04:09:05 +02:00
Add better detection future HIP 4.4
This commit is contained in:
parent
c08ad6f587
commit
733f9c2d77
@ -7113,9 +7113,8 @@ int backend_ctx_init (hashcat_ctx_t *hashcat_ctx)
|
||||
}
|
||||
else
|
||||
{
|
||||
// we need to wait for 4.4 to be released to continue here
|
||||
// ignore this backend
|
||||
|
||||
if (hip_runtimeVersion < 40400000)
|
||||
{
|
||||
int hip_version_major = (hip_runtimeVersion - 0) / 10000000;
|
||||
int hip_version_minor = (hip_runtimeVersion - (hip_version_major * 10000000)) / 100000;
|
||||
int hip_version_patch = (hip_runtimeVersion - (hip_version_major * 10000000) - (hip_version_minor * 100000));
|
||||
@ -7137,6 +7136,7 @@ int backend_ctx_init (hashcat_ctx_t *hashcat_ctx)
|
||||
// hiprtc_close (hashcat_ctx);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
rc_hip_init = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user