mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Linux/MacOSX: Fix build error caused by RDRAND_getBytes/RDSEED_getBytes implemented only on Windows
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user