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 2961 by maya, Sat Feb 17 14:01:03 2007 UTC revision 2962 by yasuhide, Sat Feb 17 16:20:21 2007 UTC
# Line 566  static BOOL end_auth_dlg(PTInstVar pvar, Line 566  static BOOL end_auth_dlg(PTInstVar pvar,
566                                  _snprintf(buf, sizeof(buf), "read error SSH2 private key file\r\n%s", errmsg);                                  _snprintf(buf, sizeof(buf), "read error SSH2 private key file\r\n%s", errmsg);
567  #endif  #endif
568                                  notify_nonfatal_error(pvar, buf);                                  notify_nonfatal_error(pvar, buf);
569                                    // パスフレーズが鍵と一致しなかった場合はIDC_SSHPASSWORDにフォーカスを移す (2006.10.29 yasuhide)
570                                    if (invalid_passphrase) {
571                                            HWND passwordCtl = GetDlgItem(dlg, IDC_SSHPASSWORD);
572    
573                                            SetFocus(passwordCtl);
574                                            SendMessage(passwordCtl, EM_SETSEL, 0, -1);
575                                    } else {
576                                            SetFocus(GetDlgItem(dlg, file_ctl_ID));
577                                    }
578                                  destroy_malloced_string(&password);                                  destroy_malloced_string(&password);
579                                  return FALSE;                                  return FALSE;
580                          }                          }
# Line 1494  void AUTH_end(PTInstVar pvar) Line 1503  void AUTH_end(PTInstVar pvar)
1503    
1504  /*  /*
1505   * $Log: not supported by cvs2svn $   * $Log: not supported by cvs2svn $
1506     * Revision 1.29  2007/02/17 14:01:03  maya
1507     * 表示メッセージの読み込み対応
1508     *
1509   * Revision 1.28  2007/01/31 13:15:08  maya   * Revision 1.28  2007/01/31 13:15:08  maya
1510   * 言語ファイルがないときに \0 が正しく認識されないバグを修正した。   * 言語ファイルがないときに \0 が正しく認識されないバグを修正した。
1511   *   *

Legend:
Removed from v.2961  
changed lines
  Added in v.2962

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