Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
Tera Term
Tera Term
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse CVS
Browse SVN
Help
Wiki
FrontPage
Title index
Recent changes
Wiki Search
Help
Docs
List Docs
Help
Forums
List of Forums
Open Discussion (173)
Help (428)
Help
Mailing Lists
list of ML
ttssh2-commit
ttssh2-dev
ttssh2-users
Help
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Help
Browse Subversion Repository
/
[ttssh2]
/
branches
/
ssh_chacha20poly1305
/
ttssh2
/
ttxssh
/
auth.c
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/auth.c
Parent Directory
|
Revision Log
|
Patch
revision
2739
by
yutakakn
, Wed Dec 1 15:37:49 2004 UTC
revision
2752
by
yutakakn
, Thu Dec 16 13:01:09 2004 UTC
#
Line 406
static BOOL CALLBACK auth_dlg_proc(HWND
Line 406
static BOOL CALLBACK auth_dlg_proc(HWND
406
LPARAM lParam)
LPARAM lParam)
407
{
{
408
const int IDC_TIMER1 = 300;
const int IDC_TIMER1 = 300;
409
const int autologin_timeout = 1000; // ミリ秒
const int autologin_timeout = 10; // ミリ秒
410
PTInstVar pvar;
PTInstVar pvar;
411
412
switch (msg) {
switch (msg) {
#
Line 424
static BOOL CALLBACK auth_dlg_proc(HWND
Line 424
static BOOL CALLBACK auth_dlg_proc(HWND
424
return FALSE; /* because we set the focus */
return FALSE; /* because we set the focus */
425
426
case WM_TIMER:
case WM_TIMER:
427
KillTimer(dlg, IDC_TIMER1);
pvar = (PTInstVar) GetWindowLong(dlg, DWL_USER);
428
SendMessage(dlg, WM_COMMAND, IDOK, 0);
// 認証準備ができてから、認証データを送信する。早すぎると、落ちる。(2004.12.16 yutaka)
429
if (!(pvar->ssh_state.status_flags & STATUS_DONT_SEND_USER_NAME)) {
430
KillTimer(dlg, IDC_TIMER1);
431
SendMessage(dlg, WM_COMMAND, IDOK, 0);
432
}
433
return TRUE;
return TRUE;
434
435
case WM_COMMAND:
case WM_COMMAND:
#
Line 920
void AUTH_end(PTInstVar pvar)
Line 924
void AUTH_end(PTInstVar pvar)
924
925
/*
/*
926
* $Log: not supported by cvs2svn $
* $Log: not supported by cvs2svn $
927
* Revision 1.2 2004/12/01 15:37:49 yutakakn
928
* SSH2自動ログイン機能を追加。
929
* 現状、パスワード認証のみに対応。
930
* ・コマンドライン
931
* /ssh /auth=認証メソッド /user=ユーザ名 /passwd=パスワード
932
*
933
*/
*/
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.2739
changed lines
Added in v.2752
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26