diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2020-08-03 10:42:18 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2020-08-03 15:13:03 +0200 |
commit | 9da8fc669bd32baa68bceac542d436c224bbb5bd (patch) | |
tree | e078a2ffb386a14e96674cd248666458210bfec3 | |
parent | 3f25b281e7f00b16c3166faa4ef0258990944f93 (diff) | |
download | VeraCrypt-9da8fc669bd32baa68bceac542d436c224bbb5bd.tar.gz VeraCrypt-9da8fc669bd32baa68bceac542d436c224bbb5bd.zip |
Windows: Use correct parameters for 2nd call to SetStartExec in BootEncryption::InstallBootLoader
-rw-r--r-- | src/Common/BootEncryption.cpp | 2 |
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)) { |