mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: Fix writing wrong EFI configuration options to registry
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user