VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Common/Crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Crypto.c b/src/Common/Crypto.c
index a6f3ffb7..d9ecc999 100644
--- a/src/Common/Crypto.c
+++ b/src/Common/Crypto.c
@@ -1223,7 +1223,7 @@ static BOOL CpuRngDisabled = FALSE;
BOOL IsCpuRngSupport ()
{
- if (HasRDSEED() || HasRDSEED())
+ if (HasRDSEED() || HasRDRAND())
return TRUE;
else
return FALSE;