1
0
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:
Mounir IDRASSI
2019-11-03 15:15:35 +01:00
parent bb123bb3e8
commit bd7200e2b5

View File

@@ -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)
{