VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Crypto.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-02-10 17:28:38 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-02-10 17:28:38 +0100
commit97ccbaf0a36f6a8a82c7407746899a9fade34831 (patch)
tree0c81643cd610b8628e550c49f3218913336ea22f /src/Common/Crypto.c
parent2bb1fdf232c730ef122f5635f5a925e256b735ef (diff)
downloadVeraCrypt-97ccbaf0a36f6a8a82c7407746899a9fade34831.tar.gz
VeraCrypt-97ccbaf0a36f6a8a82c7407746899a9fade34831.zip
Fix typo in CPU RNG detection condition (Github issue #417)
Diffstat (limited to 'src/Common/Crypto.c')
-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;