diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-02-10 17:28:38 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-02-10 17:28:38 +0100 |
commit | 97ccbaf0a36f6a8a82c7407746899a9fade34831 (patch) | |
tree | 0c81643cd610b8628e550c49f3218913336ea22f | |
parent | 2bb1fdf232c730ef122f5635f5a925e256b735ef (diff) | |
download | VeraCrypt-97ccbaf0a36f6a8a82c7407746899a9fade34831.tar.gz VeraCrypt-97ccbaf0a36f6a8a82c7407746899a9fade34831.zip |
Fix typo in CPU RNG detection condition (Github issue #417)
-rw-r--r-- | src/Common/Crypto.c | 2 |
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; |