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 2975 by yutakapon, Fri Apr 27 12:41:33 2007 UTC revision 2976 by yutakapon, Fri Apr 27 12:56:47 2007 UTC
# Line 6517  static BOOL handle_SSH2_userauth_failure Line 6517  static BOOL handle_SSH2_userauth_failure
6517    
6518          // 認証リストが空の場合はまだログインをしていない。          // 認証リストが空の場合はまだログインをしていない。
6519          if (pvar->ssh2_authlist == NULL) {          if (pvar->ssh2_authlist == NULL) {
6520                    int type = 0;
6521    
6522                    // 認証ダイアログのラジオボタンを更新
6523                    if (strstr(cstring, "password")) {
6524                            type |= (1 << SSH_AUTH_PASSWORD);
6525                    }
6526                    if (strstr(cstring, "publickey")) {
6527                            type |= (1 << SSH_AUTH_RSA);
6528                    }
6529                    if (strstr(cstring, "keyboard-interactive")) {
6530                            type |= (1 << SSH_AUTH_TIS);
6531                    }
6532                    if (!AUTH_set_supported_auth_types(pvar, type))
6533                            return FALSE;
6534    
6535                  pvar->ssh2_authlist = cstring; // 不要になったらフリーすること                  pvar->ssh2_authlist = cstring; // 不要になったらフリーすること
6536    
6537                  handle_SSH2_authrequest(pvar); // ログイン処理へ                  handle_SSH2_authrequest(pvar); // ログイン処理へ
# Line 7397  static BOOL handle_SSH2_window_adjust(PT Line 7412  static BOOL handle_SSH2_window_adjust(PT
7412    
7413  /*  /*
7414   * $Log: not supported by cvs2svn $   * $Log: not supported by cvs2svn $
7415     * Revision 1.76  2007/04/27 12:41:33  yutakapon
7416     * "none"メソッドによりユーザ認証メソッドリストを取得し、パスワード認証選択時に
7417     * keyboard-interactiveログインを試みるようにした。
7418     *
7419   * Revision 1.75  2007/04/26 12:21:24  maya   * Revision 1.75  2007/04/26 12:21:24  maya
7420   * ssh2_channel_new() の返り値をチェックするように修正した。   * ssh2_channel_new() の返り値をチェックするように修正した。
7421   *   *

Legend:
Removed from v.2975  
changed lines
  Added in v.2976

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