diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-01-26 01:18:03 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-01-26 01:20:51 +0100 |
commit | a20b3083b058901572953364dccbdd4cad8f3c5a (patch) | |
tree | 6a208ab4663e8e7d7da021ac61c8aa290fa0edde /src/Common/BootEncryption.cpp | |
parent | 7b95b375a0aeb7fcba50437944d94bab074e7df4 (diff) | |
download | VeraCrypt-a20b3083b058901572953364dccbdd4cad8f3c5a.tar.gz VeraCrypt-a20b3083b058901572953364dccbdd4cad8f3c5a.zip |
Windows: Add a build configuration containing EFI bootloader signed with custom SecureBoot key instead
Diffstat (limited to 'src/Common/BootEncryption.cpp')
-rw-r--r-- | src/Common/BootEncryption.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Common/BootEncryption.cpp b/src/Common/BootEncryption.cpp index 2bf7991c..4061bde9 100644 --- a/src/Common/BootEncryption.cpp +++ b/src/Common/BootEncryption.cpp @@ -4740,7 +4740,9 @@ namespace VeraCrypt throw SystemException (SRC_POS); } } +#endif +#if defined(VC_EFI_CUSTOM_MODE) || !defined(SETUP) void BootEncryption::GetSecureBootConfig (BOOL* pSecureBootEnabled, BOOL *pVeraCryptKeysLoaded) { SystemDriveConfiguration config = GetSystemDriveConfiguration (); @@ -4780,7 +4782,8 @@ namespace VeraCrypt throw SystemException (SRC_POS); } } - +#endif +#ifndef SETUP void BootEncryption::CheckRequirements () { if (nCurrentOS == WIN_2000) |