Develop and Download Open Source Software

Browse Subversion Repository

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

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

revision 3060 by maya, Wed Oct 31 15:27:56 2007 UTC revision 3073 by maya, Tue Dec 11 19:33:02 2007 UTC
# Line 6407  static BOOL handle_SSH2_userauth_failure Line 6407  static BOOL handle_SSH2_userauth_failure
6407                  pvar->ssh2_authlist = cstring; // 不要になったらフリーすること                  pvar->ssh2_authlist = cstring; // 不要になったらフリーすること
6408                  _snprintf_s(buf, sizeof(buf), _TRUNCATE, "method list from server: %s", cstring);                  _snprintf_s(buf, sizeof(buf), _TRUNCATE, "method list from server: %s", cstring);
6409                  notify_verbose_message(pvar, buf, LOG_LEVEL_VERBOSE);                  notify_verbose_message(pvar, buf, LOG_LEVEL_VERBOSE);
6410    #if 0
6411                  if (!pvar->session_settings.CheckAuthListFirst ||                  if (!pvar->session_settings.CheckAuthListFirst ||
6412                      pvar->ssh2_autologin == 1) {                      pvar->ssh2_autologin == 1) {
6413                          // まず none で試行して返ってきたところなので、実際のログイン処理へ                          // まず none で試行して返ってきたところなので、実際のログイン処理へ
# Line 6420  static BOOL handle_SSH2_userauth_failure Line 6420  static BOOL handle_SSH2_userauth_failure
6420                                  SendMessage(pvar->auth_state.auth_dialog, WM_COMMAND, IDOK, 0);                                  SendMessage(pvar->auth_state.auth_dialog, WM_COMMAND, IDOK, 0);
6421                          }                          }
6422                  }                  }
6423    #else
6424                    // ひとまず none で試行して返ってきたところなので、実際のログイン処理へ
6425                    if (pvar->ssh2_authmethod == SSH_AUTH_TIS &&
6426                        (pvar->ask4passwd || pvar->ssh2_autologin) &&
6427                        pvar->auth_state.auth_dialog != NULL) {
6428                            SendMessage(pvar->auth_state.auth_dialog, WM_COMMAND, IDOK, 0);
6429                    }
6430                    else {
6431                            handle_SSH2_authrequest(pvar);
6432                    }
6433    #endif
6434                  return TRUE;                  return TRUE;
6435          }          }
6436    

Legend:
Removed from v.3060  
changed lines
  Added in v.3073

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