diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-09-28 10:55:53 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-10-17 18:40:20 +0200 |
commit | e362d804b0a9e92b36f3e2d28d08bbbc387ac9a2 (patch) | |
tree | e9535f34a5dad44d496417976d9daddfa79e01c7 /src/Common/BootEncryption.cpp | |
parent | 3bad079d758edef34136a3d9634cfa52d823502c (diff) | |
download | VeraCrypt-e362d804b0a9e92b36f3e2d28d08bbbc387ac9a2.tar.gz VeraCrypt-e362d804b0a9e92b36f3e2d28d08bbbc387ac9a2.zip |
Windows: Perform Shutdown instead of Reboot during Pre-Test of UEFI system encryption in order to detect machines where changes to EFI boot don't persist after shutdown.
Diffstat (limited to 'src/Common/BootEncryption.cpp')
-rw-r--r-- | src/Common/BootEncryption.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/BootEncryption.cpp b/src/Common/BootEncryption.cpp index c3aec66e..8aa40605 100644 --- a/src/Common/BootEncryption.cpp +++ b/src/Common/BootEncryption.cpp @@ -4568,8 +4568,8 @@ namespace VeraCrypt } } - bool BootEncryption::RestartComputer (void) + bool BootEncryption::RestartComputer (BOOL bShutdown) { - return (::RestartComputer() != FALSE); + return (::RestartComputer(bShutdown) != FALSE); } } |