diff options
Diffstat (limited to 'src/Mount/Mount.c')
-rw-r--r-- | src/Mount/Mount.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c index d5c578df..ca52178f 100644 --- a/src/Mount/Mount.c +++ b/src/Mount/Mount.c @@ -4641,8 +4641,7 @@ static BOOL Mount (HWND hwndDlg, int nDosDriveNo, wchar_t *szFileName, int pim) // If keyfiles are enabled, test empty password first if (!mounted && KeyFilesEnable && FirstKeyFile && bEffectiveTryEmptyPasswordWhenKeyfileUsed) { - Password emptyPassword; - emptyPassword.Length = 0; + Password emptyPassword = {0}; KeyFilesApply (hwndDlg, &emptyPassword, FirstKeyFile, szFileName); // try TrueCrypt mode first since it is quick, only if no custom pim specified |