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 2875 by yutakakn, Mon Jun 26 13:26:49 2006 UTC revision 2890 by yutakakn, Thu Aug 3 15:05:02 2006 UTC
# Line 2941  static void PASCAL FAR TTXSetCommandLine Line 2941  static void PASCAL FAR TTXSetCommandLine
2941                                  strncat(cmd, tmp, cmdlen);                                  strncat(cmd, tmp, cmdlen);
2942                          }                          }
2943    
2944                          if (pvar->auth_state.cur_cred.method == SSH_AUTH_PASSWORD) {                          // パスワードを覚えている場合のみ、コマンドラインに渡す。(2006.8.3 yutaka)
2945                            if (pvar->auth_state.cur_cred.remeber_password != 0 &&
2946                                    pvar->auth_state.cur_cred.method == SSH_AUTH_PASSWORD) {
2947                                  replace_blank_to_mark(pvar->auth_state.cur_cred.password, mark, sizeof(mark));                                  replace_blank_to_mark(pvar->auth_state.cur_cred.password, mark, sizeof(mark));
2948                                  _snprintf(tmp, sizeof(tmp), " /auth=password /user=%s /passwd=%s", pvar->auth_state.user, mark);                                  _snprintf(tmp, sizeof(tmp), " /auth=password /user=%s /passwd=%s", pvar->auth_state.user, mark);
2949                                  strncat(cmd, tmp, cmdlen);                                  strncat(cmd, tmp, cmdlen);
2950    
2951                          } else if (pvar->auth_state.cur_cred.method == SSH_AUTH_RSA) {                          } else if (pvar->auth_state.cur_cred.remeber_password != 0 &&
2952                                                    pvar->auth_state.cur_cred.method == SSH_AUTH_RSA) {
2953                                  replace_blank_to_mark(pvar->auth_state.cur_cred.password, mark, sizeof(mark));                                  replace_blank_to_mark(pvar->auth_state.cur_cred.password, mark, sizeof(mark));
2954                                  _snprintf(tmp, sizeof(tmp), " /auth=publickey /user=%s /passwd=%s", pvar->auth_state.user, mark);                                  _snprintf(tmp, sizeof(tmp), " /auth=publickey /user=%s /passwd=%s", pvar->auth_state.user, mark);
2955                                  strncat(cmd, tmp, cmdlen);                                  strncat(cmd, tmp, cmdlen);
# Line 3113  int CALLBACK LibMain(HANDLE hInstance, W Line 3116  int CALLBACK LibMain(HANDLE hInstance, W
3116    
3117  /*  /*
3118   * $Log: not supported by cvs2svn $   * $Log: not supported by cvs2svn $
3119     * Revision 1.32  2006/06/26 13:26:49  yutakakn
3120     * TTSSHのsetupダイアログの変更内容が次回接続時から反映されるようにした。
3121     *
3122   * Revision 1.31  2006/06/23 13:57:24  yutakakn   * Revision 1.31  2006/06/23 13:57:24  yutakakn
3123   * TTSSH 2.28にて遅延パケット圧縮をサポートした。   * TTSSH 2.28にて遅延パケット圧縮をサポートした。
3124   *   *

Legend:
Removed from v.2875  
changed lines
  Added in v.2890

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