VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2018-08-10 17:23:10 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2018-08-10 21:14:11 (GMT)
commit012f7bfa93c31143be57cb01ac747f7961b2e534 (patch)
tree79498f079ededc8af042efd247e89b3e4ec5d26e
parentc84bcd4b474b994cd7aec29ee3a8412d564ce4b2 (diff)
downloadVeraCrypt-012f7bfa93c31143be57cb01ac747f7961b2e534.zip
VeraCrypt-012f7bfa93c31143be57cb01ac747f7961b2e534.tar.gz
Linux: Remove limitation of hidden volume protection on disk with sector size larger than 512 bytes.
-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 0fc69ee..372c450 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