VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2023-10-10 10:35:50 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2023-10-10 10:35:50 +0200
commita47f67bcc13465d28ddeff425d21646da41165db (patch)
tree6e8124fc59460c1e60eda530b60f72046b6da0e0
parentb6ca123ade5476429b1d15179daaa7dfb279db65 (diff)
downloadVeraCrypt-a47f67bcc13465d28ddeff425d21646da41165db.tar.gz
VeraCrypt-a47f67bcc13465d28ddeff425d21646da41165db.zip
Windows: Fix writing wrong EFI configuration options to registry
-rw-r--r--src/Common/BootEncryption.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/BootEncryption.cpp b/src/Common/BootEncryption.cpp
index ddee14b1..d3dc249e 100644
--- a/src/Common/BootEncryption.cpp
+++ b/src/Common/BootEncryption.cpp
@@ -5053,7 +5053,7 @@ namespace VeraCrypt
void BootEncryption::SetServiceConfigurationFlag (uint32 flag, bool state)
{
- DWORD configMap = ReadDriverConfigurationFlags();
+ DWORD configMap = ReadServiceConfigurationFlags();
if (state)
configMap |= flag;