1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

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.
This commit is contained in:
Mounir IDRASSI
2021-01-02 00:54:53 +01:00
parent 3281b276b6
commit 0944b68933

View File

@@ -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);