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 2804 by yutakakn, Wed Mar 23 12:39:35 2005 UTC revision 2811 by yutakakn, Fri Apr 8 14:55:03 2005 UTC
# Line 410  static BOOL end_auth_dlg(PTInstVar pvar, Line 410  static BOOL end_auth_dlg(PTInstVar pvar,
410                  pvar->auth_state.user =                  pvar->auth_state.user =
411                          alloc_control_text(GetDlgItem(dlg, IDC_SSHUSERNAME));                          alloc_control_text(GetDlgItem(dlg, IDC_SSHUSERNAME));
412          }          }
413          if (method == SSH_AUTH_PASSWORD) {  
414            // 公開鍵認証の場合、セッション複製時にパスワードを使い回したいので解放しないようにする。
415            // (2005.4.8 yutaka)
416            if (method == SSH_AUTH_PASSWORD || method == SSH_AUTH_RSA) {
417                  pvar->auth_state.cur_cred.password = password;                  pvar->auth_state.cur_cred.password = password;
418          } else {          } else {
419                  destroy_malloced_string(&password);                  destroy_malloced_string(&password);
# Line 1037  void AUTH_end(PTInstVar pvar) Line 1040  void AUTH_end(PTInstVar pvar)
1040    
1041  /*  /*
1042   * $Log: not supported by cvs2svn $   * $Log: not supported by cvs2svn $
1043     * Revision 1.12  2005/03/23 12:39:35  yutakakn
1044     * SSH2認証ダイアログの Use challenge/response to log in にアクセラレータキーを割り当てた。
1045     *
1046   * Revision 1.11  2005/03/12 15:07:33  yutakakn   * Revision 1.11  2005/03/12 15:07:33  yutakakn
1047   * SSH2 keyboard-interactive認証をTISダイアログに実装した。   * SSH2 keyboard-interactive認証をTISダイアログに実装した。
1048   *   *

Legend:
Removed from v.2804  
changed lines
  Added in v.2811

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