Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c
Parent Directory
| Revision Log
| Patch
| 6346 |
pvar->userauth_retry_count++; |
pvar->userauth_retry_count++; |
| 6347 |
|
|
| 6348 |
if (pvar->ssh2_autologin == 1) { |
if (pvar->ssh2_autologin == 1) { |
| 6349 |
|
char uimsg[MAX_UIMSG]; |
| 6350 |
// SSH2自動ログインが有効の場合は、リトライは行わない。(2004.12.4 yutaka) |
// SSH2自動ログインが有効の場合は、リトライは行わない。(2004.12.4 yutaka) |
| 6351 |
UTIL_get_lang_msg("MSG_SSH_AUTH_FAILURE_ERROR", pvar, |
UTIL_get_lang_msg("MSG_SSH_AUTH_FAILURE_ERROR", pvar, |
| 6352 |
"SSH2 autologin error: user authentication failed"); |
"SSH2 autologin error: user authentication failed."); |
| 6353 |
notify_fatal_error(pvar, pvar->ts->UIMsg); |
strncpy_s(uimsg, sizeof(uimsg), pvar->ts->UIMsg, _TRUNCATE); |
| 6354 |
|
|
| 6355 |
|
if (pvar->ssh2_authlist != NULL || strlen(pvar->ssh2_authlist) != 0) { |
| 6356 |
|
if ((pvar->auth_state.supported_types & pvar->ssh2_authmethod) == 0) { |
| 6357 |
|
// 使用した認証メソッドはサポートされていなかった |
| 6358 |
|
UTIL_get_lang_msg("MSG_SSH_SERVER_UNSUPPORT_AUTH_METHOD_ERROR", pvar, |
| 6359 |
|
"\nAuthentication method is not supported by server."); |
| 6360 |
|
strncat_s(uimsg, sizeof(uimsg), pvar->ts->UIMsg, _TRUNCATE); |
| 6361 |
|
} |
| 6362 |
|
} |
| 6363 |
|
notify_fatal_error(pvar, uimsg); |
| 6364 |
return TRUE; |
return TRUE; |
| 6365 |
} |
} |
| 6366 |
|
|
|
|
Legend:
| Removed from v.3024 |
|
| changed lines |
| |
Added in v.3027 |
|
|
| |