VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-02 18:57:30 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-02 19:04:12 +0200
commitb39a724f26dc94df97db509158b2993a3874cdcb (patch)
tree4d14839054b834ff25fb5375e2e5d646243a9ac6 /src
parentfa3d4c79c900253c0e0ff74f911bdd5c2e943480 (diff)
downloadVeraCrypt-b39a724f26dc94df97db509158b2993a3874cdcb.tar.gz
VeraCrypt-b39a724f26dc94df97db509158b2993a3874cdcb.zip
Windows: Add support for /nosizecheck switch in Format command line file container creation
Diffstat (limited to 'src')
-rw-r--r--src/Format/Tcformat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Format/Tcformat.c b/src/Format/Tcformat.c
index 009f8e17..dba64c20 100644
--- a/src/Format/Tcformat.c
+++ b/src/Format/Tcformat.c
@@ -6243,7 +6243,7 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
}
else
{
- if (!dynamicFormat && (nVolumeSize > free.QuadPart))
+ if (!dynamicFormat && !bDontCheckFileContainerSize && (nVolumeSize > free.QuadPart))
{
AbortProcess ("ERR_CONTAINER_SIZE_TOO_BIG");
}