Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/auth.c
Parent Directory
| Revision Log
| Patch
| 300 |
EnableWindow(GetDlgItem(dlg, IDC_RSAFILENAME), FALSE); |
EnableWindow(GetDlgItem(dlg, IDC_RSAFILENAME), FALSE); |
| 301 |
} |
} |
| 302 |
|
|
| 303 |
|
// /auth=challange を追加 (2007.10.5 maya) |
| 304 |
|
} else if (pvar->ssh2_authmethod == SSH_AUTH_TIS) { |
| 305 |
|
CheckRadioButton(dlg, IDC_SSHUSEPASSWORD, MAX_AUTH_CONTROL, IDC_SSHUSETIS); |
| 306 |
|
EnableWindow(GetDlgItem(dlg, IDC_SSHPASSWORD), FALSE); |
| 307 |
|
SetDlgItemText(dlg, IDC_SSHPASSWORD, ""); |
| 308 |
|
// TIS ではパスワードの入力が別ダイアログなので、 |
| 309 |
|
// 自動ログインでなくてもタイマーをセットする。 |
| 310 |
|
if (pvar->ssh2_autologin != 0) |
| 311 |
|
SetTimer(dlg, IDC_TIMER1, autologin_timeout, 0); |
| 312 |
|
|
| 313 |
} else { |
} else { |
| 314 |
// TODO |
// TODO |
| 315 |
|
|
| 316 |
} |
} |
| 317 |
|
|
| 318 |
if (pvar->ask4passwd == 1) { |
if (pvar->ask4passwd == 1) { |
| 319 |
SetFocus(GetDlgItem(dlg, IDC_SSHPASSWORD)); |
SetFocus(GetDlgItem(dlg, IDC_SSHPASSWORD)); |
| 320 |
} |
} |
| 987 |
DlgTisFont = NULL; |
DlgTisFont = NULL; |
| 988 |
} |
} |
| 989 |
|
|
| 990 |
|
// /auth=challange を追加 (2007.10.5 maya) |
| 991 |
|
if (pvar->ssh2_autologin == 1) { |
| 992 |
|
SetDlgItemText(dlg, IDC_SSHPASSWORD, pvar->ssh2_password); |
| 993 |
|
SendMessage(dlg, WM_COMMAND, IDOK, 0); |
| 994 |
|
} |
| 995 |
|
|
| 996 |
return FALSE; /* because we set the focus */ |
return FALSE; /* because we set the focus */ |
| 997 |
|
|
| 998 |
case WM_COMMAND: |
case WM_COMMAND: |
|
|
Legend:
| Removed from v.3023 |
|
| changed lines |
| |
Added in v.3025 |
|
|
| |