VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Core
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-10-24 06:37:03 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 22:24:06 (GMT)
commit067394d110ad712963f895cf63ae4a12ca4c0df1 (patch)
tree1b41ac081160d458feae77e0e9e4051899bf0f69 /src/Core
parentf05f6a00a6b0f150b0a0b51cd7b44b9c9193e3de (diff)
downloadVeraCrypt-067394d110ad712963f895cf63ae4a12ca4c0df1.zip
VeraCrypt-067394d110ad712963f895cf63ae4a12ca4c0df1.tar.gz
MacOSX : Support hard drives with a large sector size ( > 512).
Diffstat (limited to 'src/Core')
-rw-r--r--src/Core/VolumeCreator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Core/VolumeCreator.cpp b/src/Core/VolumeCreator.cpp
index e9c764a..307c0bf 100644
--- a/src/Core/VolumeCreator.cpp
+++ b/src/Core/VolumeCreator.cpp
@@ -213,7 +213,7 @@ namespace VeraCrypt
if (options->SectorSize < TC_MIN_VOLUME_SECTOR_SIZE
|| options->SectorSize > TC_MAX_VOLUME_SECTOR_SIZE
-#if !defined (TC_LINUX)
+#if !defined (TC_LINUX) && !defined (TC_MACOSX)
|| options->SectorSize != TC_SECTOR_SIZE_LEGACY
#endif
|| options->SectorSize % ENCRYPTION_DATA_UNIT_SIZE != 0)