Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c
Parent Directory
| Revision Log
| Patch
| 6407 |
pvar->ssh2_authlist = cstring; // 不要になったらフリーすること |
pvar->ssh2_authlist = cstring; // 不要になったらフリーすること |
| 6408 |
_snprintf_s(buf, sizeof(buf), _TRUNCATE, "method list from server: %s", cstring); |
_snprintf_s(buf, sizeof(buf), _TRUNCATE, "method list from server: %s", cstring); |
| 6409 |
notify_verbose_message(pvar, buf, LOG_LEVEL_VERBOSE); |
notify_verbose_message(pvar, buf, LOG_LEVEL_VERBOSE); |
| 6410 |
|
#if 0 |
| 6411 |
if (!pvar->session_settings.CheckAuthListFirst || |
if (!pvar->session_settings.CheckAuthListFirst || |
| 6412 |
pvar->ssh2_autologin == 1) { |
pvar->ssh2_autologin == 1) { |
| 6413 |
// まず none で試行して返ってきたところなので、実際のログイン処理へ |
// まず none で試行して返ってきたところなので、実際のログイン処理へ |
| 6420 |
SendMessage(pvar->auth_state.auth_dialog, WM_COMMAND, IDOK, 0); |
SendMessage(pvar->auth_state.auth_dialog, WM_COMMAND, IDOK, 0); |
| 6421 |
} |
} |
| 6422 |
} |
} |
| 6423 |
|
#else |
| 6424 |
|
// ひとまず none で試行して返ってきたところなので、実際のログイン処理へ |
| 6425 |
|
if (pvar->ssh2_authmethod == SSH_AUTH_TIS && |
| 6426 |
|
(pvar->ask4passwd || pvar->ssh2_autologin) && |
| 6427 |
|
pvar->auth_state.auth_dialog != NULL) { |
| 6428 |
|
SendMessage(pvar->auth_state.auth_dialog, WM_COMMAND, IDOK, 0); |
| 6429 |
|
} |
| 6430 |
|
else { |
| 6431 |
|
handle_SSH2_authrequest(pvar); |
| 6432 |
|
} |
| 6433 |
|
#endif |
| 6434 |
return TRUE; |
return TRUE; |
| 6435 |
} |
} |
| 6436 |
|
|
|
|
Legend:
| Removed from v.3060 |
|
| changed lines |
| |
Added in v.3073 |
|
|
| |