mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-11 10:59:56 -05:00
Windows: Fix writing wrong EFI configuration options to registry
This commit is contained in:
1 file changed
+1
-1
@@ -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