VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-06-10 18:09:39 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:19:47 +0100
commit437cbd9c8b223738b715d099a3460d86644d7b98 (patch)
treeb03bd36ae11dc90d4820604fb25ba67ef4f74bda /src/Driver
parentf34d894f6e53a033678fe2f9faba0c85e7cb0728 (diff)
downloadVeraCrypt-437cbd9c8b223738b715d099a3460d86644d7b98.tar.gz
VeraCrypt-437cbd9c8b223738b715d099a3460d86644d7b98.zip
Remove some legacy code inherited from True and that doesn't apply to VeraCrypt
Diffstat (limited to 'src/Driver')
-rw-r--r--src/Driver/DriveFilter.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/Driver/DriveFilter.c b/src/Driver/DriveFilter.c
index 006b283a..6b0e9328 100644
--- a/src/Driver/DriveFilter.c
+++ b/src/Driver/DriveFilter.c
@@ -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);