mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-12 03:18:26 -06:00
Windows: when building for EFI bootloader, don't make calls to RDRAND/RDSEED functions since we don't link against their implementation in EFI bootloader
This commit is contained in:
@@ -387,7 +387,7 @@ void DetectX86Features()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef _UEFI
|
||||
/* Add check fur buggy RDRAND (AMD Ryzen case) even if we always use RDSEED instead of RDRAND when RDSEED available */
|
||||
if (g_hasRDRAND)
|
||||
{
|
||||
@@ -412,6 +412,7 @@ void DetectX86Features()
|
||||
g_hasRDSEED = 0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!g_cacheLineSize)
|
||||
g_cacheLineSize = CRYPTOPP_L1_CACHE_LINE_SIZE;
|
||||
|
||||
Reference in New Issue
Block a user