Develop and Download Open Source Software

Browse Subversion Repository

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

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

revision 3022 by yutakapon, Wed Oct 3 12:33:36 2007 UTC revision 3025 by maya, Thu Oct 4 15:15:04 2007 UTC
# Line 1511  static int parse_option(PTInstVar pvar, Line 1511  static int parse_option(PTInstVar pvar,
1511                          //                          //
1512                          pvar->ssh2_autologin = 1; // for SSH2 (2004.11.30 yutaka)                          pvar->ssh2_autologin = 1; // for SSH2 (2004.11.30 yutaka)
1513    
1514                          if (MATCH_STR(option + 5, "=password") == 0) { // パスワード/keyboard-interactive認証                          if (MATCH_STR(option + 5, "=password") == 0) { // パスワード
1515                                  //pvar->auth_state.cur_cred.method = SSH_AUTH_PASSWORD;                                  //pvar->auth_state.cur_cred.method = SSH_AUTH_PASSWORD;
1516                                  pvar->ssh2_authmethod = SSH_AUTH_PASSWORD;                                  pvar->ssh2_authmethod = SSH_AUTH_PASSWORD;
1517    
1518                            // /auth=challange を追加 (2007.10.5 maya)
1519                            } else if (MATCH_STR(option + 5, "=challange") == 0) { // keyboard-interactive認証
1520                                    //pvar->auth_state.cur_cred.method = SSH_AUTH_TIS;
1521                                    pvar->ssh2_authmethod = SSH_AUTH_TIS;
1522    
1523                          } else if (MATCH_STR(option + 5, "=publickey") == 0) { // 公開鍵認証                          } else if (MATCH_STR(option + 5, "=publickey") == 0) { // 公開鍵認証
1524                                  //pvar->auth_state.cur_cred.method = SSH_AUTH_RSA;                                  //pvar->auth_state.cur_cred.method = SSH_AUTH_RSA;
1525                                  pvar->ssh2_authmethod = SSH_AUTH_RSA;                                  pvar->ssh2_authmethod = SSH_AUTH_RSA;

Legend:
Removed from v.3022  
changed lines
  Added in v.3025

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