mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-07 17:26:35 -05:00
Windows: check password length for outer volume during hidden volume creation to avoid potential plausible deniability issues.
This commit is contained in:
1 parent
7fb5af6ada
commit
06af5ce7fd
1 file changed
+2
-3
@@ -6692,9 +6692,8 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
|
||||
Error ("UNSUPPORTED_CHARS_IN_PWD", hwndDlg);
|
||||
return 1;
|
||||
}
|
||||
// Check password length (do not check if it's for an outer volume).
|
||||
else if (!bHiddenVolHost
|
||||
&& !CheckPasswordLength (hwndDlg, GetDlgItem (hCurPage, IDC_PASSWORD)))
|
||||
// Check password length (check also done for outer volume which is not the case in TrueCrypt).
|
||||
else if (!CheckPasswordLength (hwndDlg, GetDlgItem (hCurPage, IDC_PASSWORD)))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user