VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver/DriveFilter.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-06-10 16:09:39 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 22:19:47 (GMT)
commit437cbd9c8b223738b715d099a3460d86644d7b98 (patch)
treeb03bd36ae11dc90d4820604fb25ba67ef4f74bda /src/Driver/DriveFilter.c
parentf34d894f6e53a033678fe2f9faba0c85e7cb0728 (diff)
downloadVeraCrypt-437cbd9c8b223738b715d099a3460d86644d7b98.zip
VeraCrypt-437cbd9c8b223738b715d099a3460d86644d7b98.tar.gz
Remove some legacy code inherited from True and that doesn't apply to VeraCrypt
Diffstat (limited to 'src/Driver/DriveFilter.c')
-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 006b283..6b0e932 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);