Windows: Fix writing wrong EFI configuration options to registry

This commit is contained in:
Mounir IDRASSI 2023-10-10 10:35:50 +02:00
parent b6ca123ade
commit a47f67bcc1
No known key found for this signature in database
GPG Key ID: FC1B00364B3FE937

View File

@ -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;