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 3138 by maya, Mon Jul 28 14:55:17 2008 UTC revision 3152 by maya, Sat Oct 4 12:37:29 2008 UTC
# Line 628  static BOOL end_auth_dlg(PTInstVar pvar, Line 628  static BOOL end_auth_dlg(PTInstVar pvar,
628  static BOOL CALLBACK auth_dlg_proc(HWND dlg, UINT msg, WPARAM wParam,  static BOOL CALLBACK auth_dlg_proc(HWND dlg, UINT msg, WPARAM wParam,
629                                     LPARAM lParam)                                     LPARAM lParam)
630  {  {
631          const int IDC_TIMER1 = 300;          const int IDC_TIMER1 = 300; // 自動ログイン
632          const int IDC_TIMER2 = 301;          const int IDC_TIMER2 = 301; // サポートされているメソッドをチェック
633          const int IDC_TIMER3 = 302;          const int IDC_TIMER3 = 302; // チャレンジレスポンス
634          const int autologin_timeout = 10; // ミリ秒          const int autologin_timeout = 10; // ミリ秒
635          PTInstVar pvar;          PTInstVar pvar;
636          LOGFONT logfont;          LOGFONT logfont;
# Line 764  static BOOL CALLBACK auth_dlg_proc(HWND Line 764  static BOOL CALLBACK auth_dlg_proc(HWND
764                                   !(pvar->ssh_state.status_flags & STATUS_HOST_OK))) {                                   !(pvar->ssh_state.status_flags & STATUS_HOST_OK))) {
765                                  return FALSE;                                  return FALSE;
766                          }                          }
767                            else if (pvar->session_settings.CheckAuthListFirst &&
768                                     !pvar->tryed_ssh2_authlist) {
769                                    // CheckAuthListFirst が有効で認証方式が来ていないときは
770                                    // OK を押せないようにする (2008.10.4 maya)
771                                    return FALSE;
772                            }
773    
774                          return end_auth_dlg(pvar, dlg);                          return end_auth_dlg(pvar, dlg);
775    

Legend:
Removed from v.3138  
changed lines
  Added in v.3152

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