VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Core/Unix
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/Unix')
-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