diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-10-24 08:37:03 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-11-08 23:24:06 +0100 |
commit | 067394d110ad712963f895cf63ae4a12ca4c0df1 (patch) | |
tree | 1b41ac081160d458feae77e0e9e4051899bf0f69 /src/Core | |
parent | f05f6a00a6b0f150b0a0b51cd7b44b9c9193e3de (diff) | |
download | VeraCrypt-067394d110ad712963f895cf63ae4a12ca4c0df1.tar.gz VeraCrypt-067394d110ad712963f895cf63ae4a12ca4c0df1.zip |
MacOSX : Support hard drives with a large sector size ( > 512).
Diffstat (limited to 'src/Core')
-rw-r--r-- | src/Core/VolumeCreator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Core/VolumeCreator.cpp b/src/Core/VolumeCreator.cpp index e9c764a0..307c0bf3 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) |