VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Crypto.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-02-13 17:00:03 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-02-15 00:17:03 +0100
commitadf97533d315a939393f12067e1d2a655b076bf0 (patch)
tree3c012074147ae13e9aaa84e0724e4df4dcd297ba /src/Common/Crypto.c
parent863a3a07b82e898388fd6122a918dbb19775de69 (diff)
downloadVeraCrypt-adf97533d315a939393f12067e1d2a655b076bf0.tar.gz
VeraCrypt-adf97533d315a939393f12067e1d2a655b076bf0.zip
Windows: Set CpuRngDisabled variable to TRUE for clarity even if it will be set to TRUE anyway by default through EnableCpuRng calls
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 d9ecc999..562b4c6d 100644
--- a/src/Common/Crypto.c
+++ b/src/Common/Crypto.c
@@ -1219,7 +1219,7 @@ BOOL IsHwEncryptionEnabled ()
#ifndef TC_WINDOWS_BOOT
-static BOOL CpuRngDisabled = FALSE;
+static BOOL CpuRngDisabled = TRUE;
BOOL IsCpuRngSupport ()
{