diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2018-08-10 19:23:10 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2018-08-10 23:14:11 +0200 |
commit | 012f7bfa93c31143be57cb01ac747f7961b2e534 (patch) | |
tree | 79498f079ededc8af042efd247e89b3e4ec5d26e /src | |
parent | c84bcd4b474b994cd7aec29ee3a8412d564ce4b2 (diff) | |
download | VeraCrypt-012f7bfa93c31143be57cb01ac747f7961b2e534.tar.gz VeraCrypt-012f7bfa93c31143be57cb01ac747f7961b2e534.zip |
Linux: Remove limitation of hidden volume protection on disk with sector size larger than 512 bytes.
Diffstat (limited to 'src')
-rw-r--r-- | src/Core/Unix/CoreUnix.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/Core/Unix/CoreUnix.cpp b/src/Core/Unix/CoreUnix.cpp index 0fc69eec..372c450f 100644 --- a/src/Core/Unix/CoreUnix.cpp +++ b/src/Core/Unix/CoreUnix.cpp @@ -475,17 +475,6 @@ namespace VeraCrypt { if (volume->GetFile()->GetDeviceSectorSize() != volume->GetSectorSize()) throw ParameterIncorrect (SRC_POS); - -#if defined (TC_LINUX) - if (volume->GetSectorSize() != TC_SECTOR_SIZE_LEGACY) - { - if (options.Protection == VolumeProtection::HiddenVolumeReadOnly) - throw UnsupportedSectorSizeHiddenVolumeProtection(); - - if (options.NoKernelCrypto) - throw UnsupportedSectorSizeNoKernelCrypto(); - } -#endif } // Find a free mount point for FUSE service |