Linux: Remove limitation of hidden volume protection on disk with sector size larger than 512 bytes.

This commit is contained in:
Mounir IDRASSI 2018-08-10 19:23:10 +02:00
parent c84bcd4b47
commit 012f7bfa93
No known key found for this signature in database
GPG Key ID: DD0C382D5FCFB8FC

View File

@ -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