VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Common/Crypto.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Common/Crypto.c b/src/Common/Crypto.c
index 913495f4..550de2b3 100644
--- a/src/Common/Crypto.c
+++ b/src/Common/Crypto.c
@@ -1243,7 +1243,10 @@ BOOL IsCpuRngEnabled ()
BOOL IsRamEncryptionSupported ()
{
#ifdef _WIN64
- return TRUE;
+ if (t1ha_selfcheck__t1ha2() == 0)
+ return TRUE;
+ else
+ return FALSE;
#else
return FALSE;
#endif