diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-07-20 01:08:53 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-07-20 23:23:18 +0200 |
commit | 7f2981f25720053b10ed935e1b7f7d8331df0e95 (patch) | |
tree | 7f42eb883bb4ea433ac7434475f9672a4f608b60 /src/Common/Dlgcode.c | |
parent | 3021745f67164c2a19cafc0ed1eff7d35830f662 (diff) | |
download | VeraCrypt-7f2981f25720053b10ed935e1b7f7d8331df0e95.tar.gz VeraCrypt-7f2981f25720053b10ed935e1b7f7d8331df0e95.zip |
Windows: use Secure Desktop for smart card PIN dialog if it is activated for password dialog.
Diffstat (limited to 'src/Common/Dlgcode.c')
-rw-r--r-- | src/Common/Dlgcode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c index 08bdbc84..f11204d0 100644 --- a/src/Common/Dlgcode.c +++ b/src/Common/Dlgcode.c @@ -11652,7 +11652,7 @@ BOOL InitSecurityTokenLibrary (HWND hwndDlg) HWND hParent = IsWindow (m_hwnd)? m_hwnd : GetActiveWindow(); if (!hParent) hParent = GetForegroundWindow (); - if (DialogBoxParamW (hInst, MAKEINTRESOURCEW (IDD_TOKEN_PASSWORD), hParent, (DLGPROC) SecurityTokenPasswordDlgProc, (LPARAM) &str) == IDCANCEL) + if (SecureDesktopDialogBoxParam (hInst, MAKEINTRESOURCEW (IDD_TOKEN_PASSWORD), hParent, (DLGPROC) SecurityTokenPasswordDlgProc, (LPARAM) &str) == IDCANCEL) throw UserAbort (SRC_POS); } if (hCursor != NULL) |