mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-24 03:53:29 +01:00
Windows: Fix writing wrong EFI configuration options to registry
This commit is contained in:
parent
b6ca123ade
commit
a47f67bcc1
@ -5053,7 +5053,7 @@ namespace VeraCrypt
|
|||||||
|
|
||||||
void BootEncryption::SetServiceConfigurationFlag (uint32 flag, bool state)
|
void BootEncryption::SetServiceConfigurationFlag (uint32 flag, bool state)
|
||||||
{
|
{
|
||||||
DWORD configMap = ReadDriverConfigurationFlags();
|
DWORD configMap = ReadServiceConfigurationFlags();
|
||||||
|
|
||||||
if (state)
|
if (state)
|
||||||
configMap |= flag;
|
configMap |= flag;
|
||||||
|
Loading…
Reference in New Issue
Block a user