VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2018-08-10 19:23:10 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2018-08-10 23:14:11 +0200
commit012f7bfa93c31143be57cb01ac747f7961b2e534 (patch)
tree79498f079ededc8af042efd247e89b3e4ec5d26e /src
parentc84bcd4b474b994cd7aec29ee3a8412d564ce4b2 (diff)
downloadVeraCrypt-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.cpp11
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