VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-04-28 23:47:59 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-05-03 15:47:25 +0200
commit0f2d32f01145f82fa83806e08ddde6cdce8a496d (patch)
tree30af8e41802c95cf0f3817576bbed28e5307091b /src/Mount
parenta1f1e34789d3693f821ec20cf147e2634f981249 (diff)
downloadVeraCrypt-0f2d32f01145f82fa83806e08ddde6cdce8a496d.tar.gz
VeraCrypt-0f2d32f01145f82fa83806e08ddde6cdce8a496d.zip
Windows: enable showing/hiding password for system encryption in Windows UI and in the bootloader (F5 key). This will be helpful to diagnose issues with non-US versions of Windows.
Diffstat (limited to 'src/Mount')
-rw-r--r--src/Mount/Mount.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c
index 0aafbf60..f27c2d50 100644
--- a/src/Mount/Mount.c
+++ b/src/Mount/Mount.c
@@ -1744,8 +1744,6 @@ BOOL CALLBACK PasswordChangeDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
bKeyboardLayoutChanged = TRUE;
}
- ShowWindow(GetDlgItem(hwndDlg, IDC_SHOW_PASSWORD_CHPWD_NEW), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDlg, IDC_SHOW_PASSWORD_CHPWD_ORI), SW_HIDE);
/* for system encryption, we can't change the PRF */
EnableWindow (GetDlgItem (hwndDlg, IDT_PKCS5_PRF), FALSE);
@@ -2279,7 +2277,6 @@ BOOL CALLBACK PasswordDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPa
}
SetCheckBox (hwndDlg, IDC_SHOW_PASSWORD, FALSE);
- EnableWindow (GetDlgItem (hwndDlg, IDC_SHOW_PASSWORD), FALSE);
SendMessage (GetDlgItem (hwndDlg, IDC_PASSWORD), EM_SETPASSWORDCHAR, '*', 0);
InvalidateRect (GetDlgItem (hwndDlg, IDC_PASSWORD), NULL, TRUE);