From 0f2d32f01145f82fa83806e08ddde6cdce8a496d Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 28 Apr 2015 23:47:59 +0200 Subject: 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. --- src/Mount/Mount.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/Mount') 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); -- cgit v1.2.3