diff options
Diffstat (limited to 'src/Volume/Volume.cpp')
-rwxr-xr-x | src/Volume/Volume.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/Volume/Volume.cpp b/src/Volume/Volume.cpp index 12bc9a14..362b342c 100755 --- a/src/Volume/Volume.cpp +++ b/src/Volume/Volume.cpp @@ -129,13 +129,6 @@ namespace VeraCrypt if (useBackupHeaders && !layout->HasBackupHeader()) continue; - if (typeid (*layout) == typeid (VolumeLayoutV1Hidden) - && deviceHosted - && hostDeviceSectorSize != TC_SECTOR_SIZE_LEGACY) - { - continue; - } - SecureBuffer headerBuffer (layout->GetHeaderSize()); if (layout->HasDriveHeader()) @@ -249,9 +242,6 @@ namespace VeraCrypt ProtectedRangeStart = protectedVolume.VolumeDataOffset; ProtectedRangeEnd = protectedVolume.VolumeDataOffset + protectedVolume.VolumeDataSize; - - if (typeid (*protectedVolume.Layout) == typeid (VolumeLayoutV1Hidden)) - ProtectedRangeEnd += protectedVolume.Layout->GetHeaderSize(); } catch (PasswordException&) { |