VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-08-03 10:42:18 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-08-03 15:13:03 +0200
commit9da8fc669bd32baa68bceac542d436c224bbb5bd (patch)
treee078a2ffb386a14e96674cd248666458210bfec3
parent3f25b281e7f00b16c3166faa4ef0258990944f93 (diff)
downloadVeraCrypt-9da8fc669bd32baa68bceac542d436c224bbb5bd.tar.gz
VeraCrypt-9da8fc669bd32baa68bceac542d436c224bbb5bd.zip
Windows: Use correct parameters for 2nd call to SetStartExec in BootEncryption::InstallBootLoader
-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 0f415394..d89c4df8 100644
--- a/src/Common/BootEncryption.cpp
+++ b/src/Common/BootEncryption.cpp
@@ -3498,7 +3498,7 @@ namespace VeraCrypt
EfiBootInst.SaveFile(L"\\EFI\\VeraCrypt\\DcsInfo.dcs", DcsInfoImg, sizeDcsInfo);
if (!preserveUserConfig)
EfiBootInst.DelFile(L"\\EFI\\VeraCrypt\\PlatformInfo");
- EfiBootInst.SetStartExec(L"VeraCrypt BootLoader (DcsBoot)", L"\\EFI\\VeraCrypt\\DcsBoot.efi");
+ EfiBootInst.SetStartExec(L"VeraCrypt BootLoader (DcsBoot)", L"\\EFI\\VeraCrypt\\DcsBoot.efi", SetBootEntry, ForceFirstBootEntry, SetBootNext);
if (EfiBootInst.FileExists (szStdEfiBootloader))
{