mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-10 13:13:34 +01:00
Linux/MacOSX: Fix build error caused by RDRAND_getBytes/RDSEED_getBytes implemented only on Windows
This commit is contained in:
parent
bb123bb3e8
commit
bd7200e2b5
@ -387,7 +387,7 @@ void DetectX86Features()
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifndef _UEFI
|
||||
#if defined(_MSC_VER) && !defined(_UEFI)
|
||||
/* Add check fur buggy RDRAND (AMD Ryzen case) even if we always use RDSEED instead of RDRAND when RDSEED available */
|
||||
if (g_hasRDRAND)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user