VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2021-01-02 00:54:53 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2021-01-02 01:16:48 +0100
commit0944b68933aa6f54eae11d3ca9c9dc07f6f619aa (patch)
tree6a332cd5a71ebe484487afd12cdd5c0ee9fafa7e
parent3281b276b65912f0a6c265fb6f150f815b528937 (diff)
downloadVeraCrypt-0944b68933aa6f54eae11d3ca9c9dc07f6f619aa.tar.gz
VeraCrypt-0944b68933aa6f54eae11d3ca9c9dc07f6f619aa.zip
Revert "Windows: Don't check for availability of 32KB of free space for bootloader in UEFI boot mode"
More work is needed to reduce the 32KB free space requirement without creating regressions.
-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 0ecdfba4..c8fc90bf 100644
--- a/src/Common/BootEncryption.cpp
+++ b/src/Common/BootEncryption.cpp
@@ -5188,7 +5188,7 @@ namespace VeraCrypt
if (SystemDriveIsDynamic())
throw ErrorException ("SYSENC_UNSUPPORTED_FOR_DYNAMIC_DISK", SRC_POS);
- if (!config.SystemPartition.IsGPT && (config.InitialUnallocatedSpace < TC_BOOT_LOADER_AREA_SIZE))
+ if (config.InitialUnallocatedSpace < TC_BOOT_LOADER_AREA_SIZE)
throw ErrorException ("NO_SPACE_FOR_BOOT_LOADER", SRC_POS);
DISK_GEOMETRY_EX geometry = GetDriveGeometry (config.DriveNumber);