1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Fix typo in CPU RNG detection condition (Github issue #417)

This commit is contained in:
Mounir IDRASSI
2019-02-10 17:28:38 +01:00
parent 2bb1fdf232
commit 97ccbaf0a3

View File

@@ -1223,7 +1223,7 @@ static BOOL CpuRngDisabled = FALSE;
BOOL IsCpuRngSupport () BOOL IsCpuRngSupport ()
{ {
if (HasRDSEED() || HasRDSEED()) if (HasRDSEED() || HasRDRAND())
return TRUE; return TRUE;
else else
return FALSE; return FALSE;