Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/auth.c
Parent Directory
| Revision Log
| Patch
| 1458 |
HWND cur_active = GetActiveWindow(); |
HWND cur_active = GetActiveWindow(); |
| 1459 |
DLGPROC dlg_proc; |
DLGPROC dlg_proc; |
| 1460 |
LPCTSTR dialog_template; |
LPCTSTR dialog_template; |
| 1461 |
|
INT_PTR r; |
| 1462 |
|
|
| 1463 |
switch (pvar->auth_state.mode) { |
switch (pvar->auth_state.mode) { |
| 1464 |
case TIS_AUTH_MODE: |
case TIS_AUTH_MODE: |
| 1471 |
dlg_proc = auth_dlg_proc; |
dlg_proc = auth_dlg_proc; |
| 1472 |
} |
} |
| 1473 |
|
|
| 1474 |
if (!DialogBoxParam(hInst, dialog_template, |
r = DialogBoxParam(hInst, dialog_template, |
| 1475 |
cur_active != |
cur_active != |
| 1476 |
NULL ? cur_active : pvar->NotificationWindow, |
NULL ? cur_active : pvar->NotificationWindow, |
| 1477 |
dlg_proc, (LPARAM) pvar) == -1) { |
dlg_proc, (LPARAM) pvar); |
| 1478 |
|
if (r == -1) { |
| 1479 |
UTIL_get_lang_msg("MSG_CREATEWINDOW_AUTH_ERROR", pvar, |
UTIL_get_lang_msg("MSG_CREATEWINDOW_AUTH_ERROR", pvar, |
| 1480 |
"Unable to display authentication dialog box.\n" |
"Unable to display authentication dialog box.\n" |
| 1481 |
"Connection terminated."); |
"Connection terminated."); |
|
|
Legend:
| Removed from v.8097 |
|
| changed lines |
| |
Added in v.8210 |
|
|
| |