Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/auth.c
Parent Directory
| Revision Log
| Patch
| 842 |
|
|
| 843 |
switch (LOWORD(wParam)) { |
switch (LOWORD(wParam)) { |
| 844 |
case IDOK: |
case IDOK: |
| 845 |
|
// 認証中にサーバから切断された場合は、キャンセル扱いとする。(2014.3.31 yutaka) |
| 846 |
|
if (!pvar->cv->Ready) { |
| 847 |
|
goto canceled; |
| 848 |
|
} |
| 849 |
|
|
| 850 |
// 認証準備ができてから、認証データを送信する。早すぎると、落ちる。(2001.1.25 yutaka) |
// 認証準備ができてから、認証データを送信する。早すぎると、落ちる。(2001.1.25 yutaka) |
| 851 |
if (pvar->userauth_retry_count == 0 && |
if (pvar->userauth_retry_count == 0 && |
| 852 |
((pvar->ssh_state.status_flags & STATUS_DONT_SEND_USER_NAME) || |
((pvar->ssh_state.status_flags & STATUS_DONT_SEND_USER_NAME) || |
| 864 |
return end_auth_dlg(pvar, dlg); |
return end_auth_dlg(pvar, dlg); |
| 865 |
|
|
| 866 |
case IDCANCEL: /* kill the connection */ |
case IDCANCEL: /* kill the connection */ |
| 867 |
|
canceled: |
| 868 |
pvar->auth_state.auth_dialog = NULL; |
pvar->auth_state.auth_dialog = NULL; |
| 869 |
notify_closed_connection(pvar); |
notify_closed_connection(pvar); |
| 870 |
EndDialog(dlg, 0); |
EndDialog(dlg, 0); |
|
|
Legend:
| Removed from v.5553 |
|
| changed lines |
| |
Added in v.5562 |
|
|
|