Remove some legacy code inherited from True and that doesn't apply to VeraCrypt

This commit is contained in:
Mounir IDRASSI
2014-11-08 23:19:47 +01:00
parent f34d894f6e
commit 437cbd9c8b
2 changed files with 1 additions and 118 deletions
+1 -10
View File
@@ -103,16 +103,7 @@ NTSTATUS LoadBootArguments ()
BootArgsValid = TRUE;
memset (bootArguments, 0, sizeof (*bootArguments));
if (BootArgs.BootLoaderVersion < 0x600)
{
BootArgs.HiddenSystemPartitionStart = 0;
BootArgs.DecoySystemPartitionStart = 0;
}
if (BootArgs.BootLoaderVersion < 0x630)
BootArgs.Flags = 0;
BootDriveSignatureValid = (BootArgs.BootLoaderVersion >= 0x710);
BootDriveSignatureValid = TRUE;
Dump ("BootLoaderVersion = %x\n", (int) BootArgs.BootLoaderVersion);
Dump ("HeaderSaltCrc32 = %x\n", (int) BootArgs.HeaderSaltCrc32);