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 5562 by yutakapon, Mon Mar 31 06:28:16 2014 UTC revision 5678 by maya, Sat Oct 4 03:39:24 2014 UTC
# Line 866  static BOOL CALLBACK auth_dlg_proc(HWND Line 866  static BOOL CALLBACK auth_dlg_proc(HWND
866                  case IDCANCEL:                  /* kill the connection */                  case IDCANCEL:                  /* kill the connection */
867  canceled:  canceled:
868                          pvar->auth_state.auth_dialog = NULL;                          pvar->auth_state.auth_dialog = NULL;
869                          notify_closed_connection(pvar);                          notify_closed_connection(pvar, "authentication cancelled");
870                          EndDialog(dlg, 0);                          EndDialog(dlg, 0);
871    
872                          if (DlgAuthFont != NULL) {                          if (DlgAuthFont != NULL) {
# Line 969  int AUTH_set_supported_auth_types(PTInst Line 969  int AUTH_set_supported_auth_types(PTInst
969                  UTIL_get_lang_msg("MSG_NOAUTHMETHOD_ERROR", pvar,                  UTIL_get_lang_msg("MSG_NOAUTHMETHOD_ERROR", pvar,
970                                    "Server does not support any of the authentication options\n"                                    "Server does not support any of the authentication options\n"
971                                    "provided by TTSSH. This connection will now close.");                                    "provided by TTSSH. This connection will now close.");
972                  notify_fatal_error(pvar, pvar->ts->UIMsg);                  notify_fatal_error(pvar, pvar->ts->UIMsg, TRUE);
973                  return 0;                  return 0;
974          } else {          } else {
975                  if (pvar->auth_state.auth_dialog != NULL) {                  if (pvar->auth_state.auth_dialog != NULL) {
# Line 1189  static BOOL CALLBACK TIS_dlg_proc(HWND d Line 1189  static BOOL CALLBACK TIS_dlg_proc(HWND d
1189    
1190                  case IDCANCEL:                  /* kill the connection */                  case IDCANCEL:                  /* kill the connection */
1191                          pvar->auth_state.auth_dialog = NULL;                          pvar->auth_state.auth_dialog = NULL;
1192                          notify_closed_connection(pvar);                          notify_closed_connection(pvar, "authentication cancelled");
1193                          EndDialog(dlg, 0);                          EndDialog(dlg, 0);
1194    
1195                          if (DlgTisFont != NULL) {                          if (DlgTisFont != NULL) {
# Line 1232  void AUTH_do_cred_dialog(PTInstVar pvar) Line 1232  void AUTH_do_cred_dialog(PTInstVar pvar)
1232                          UTIL_get_lang_msg("MSG_CREATEWINDOW_AUTH_ERROR", pvar,                          UTIL_get_lang_msg("MSG_CREATEWINDOW_AUTH_ERROR", pvar,
1233                                            "Unable to display authentication dialog box.\n"                                            "Unable to display authentication dialog box.\n"
1234                                            "Connection terminated.");                                            "Connection terminated.");
1235                          notify_fatal_error(pvar, pvar->ts->UIMsg);                          notify_fatal_error(pvar, pvar->ts->UIMsg, TRUE);
1236                  }                  }
1237          }          }
1238  }  }

Legend:
Removed from v.5562  
changed lines
  Added in v.5678

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