mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows Driver: Disable Hibernation when RAM encryption is enabled since we can't resume from Hibernation without RAM encryption keys (a chicken and egg situation)
This commit is contained in:
@@ -660,6 +660,12 @@ static NTSTATUS MountDrive (DriveFilterExtension *Extension, Password *password,
|
||||
{
|
||||
CrashDumpEnabled = TRUE;
|
||||
HibernationEnabled = TRUE;
|
||||
#ifdef _WIN64
|
||||
if (IsRamEncryptionEnabled())
|
||||
{
|
||||
HibernationEnabled = FALSE;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else if (!LegacyHibernationDriverFilterActive)
|
||||
StartLegacyHibernationDriverFilter();
|
||||
|
||||
Reference in New Issue
Block a user