Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/auth.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8097 by yutakapon, Sun Sep 8 14:32:30 2019 UTC revision 8210 by zmatsuo, Sat Sep 21 15:05:47 2019 UTC
# Line 1458  void AUTH_do_cred_dialog(PTInstVar pvar) Line 1458  void AUTH_do_cred_dialog(PTInstVar pvar)
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:
# Line 1470  void AUTH_do_cred_dialog(PTInstVar pvar) Line 1471  void AUTH_do_cred_dialog(PTInstVar pvar)
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

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26