svnno****@sourc*****
svnno****@sourc*****
2015年 3月 27日 (金) 18:04:14 JST
Revision: 5831 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5831 Author: maya Date: 2015-03-27 18:04:12 +0900 (Fri, 27 Mar 2015) Log Message: ----------- デバッグメッセージを追加 Modified Paths: -------------- trunk/ttssh2/ttxssh/ssh.c -------------- next part -------------- Modified: trunk/ttssh2/ttxssh/ssh.c =================================================================== --- trunk/ttssh2/ttxssh/ssh.c 2015-03-26 15:12:15 UTC (rev 5830) +++ trunk/ttssh2/ttxssh/ssh.c 2015-03-27 09:04:12 UTC (rev 5831) @@ -5411,7 +5411,8 @@ // known_hosts\x91Ή\x9E (2006.3.20 yutaka) if (hostkey->type != pvar->hostkey_type) { // \x83z\x83X\x83g\x83L\x81[\x82̎\xED\x95ʔ\xE4\x8Ar _snprintf_s(emsg_tmp, sizeof(emsg_tmp), _TRUNCATE, - "type mismatch for decoded server_host_key_blob @ %s", __FUNCTION__); + "type mismatch for decoded server_host_key_blob (kex:%s blob:%s) @ %s", + get_ssh_keytype_name(pvar->hostkey_type), (hostkey->type), __FUNCTION__); emsg = emsg_tmp; goto error; } @@ -5635,7 +5636,8 @@ // known_hosts\x91Ή\x9E (2006.3.20 yutaka) if (hostkey->type != pvar->hostkey_type) { // \x83z\x83X\x83g\x83L\x81[\x82̎\xED\x95ʔ\xE4\x8Ar _snprintf_s(emsg_tmp, sizeof(emsg_tmp), _TRUNCATE, - "type mismatch for decoded server_host_key_blob @ %s", __FUNCTION__); + "type mismatch for decoded server_host_key_blob (kex:%s blob:%s) @ %s", + get_ssh_keytype_name(pvar->hostkey_type), (hostkey->type), __FUNCTION__); emsg = emsg_tmp; goto error; } @@ -5868,7 +5870,8 @@ // known_hosts\x91Ή\x9E (2006.3.20 yutaka) if (hostkey->type != pvar->hostkey_type) { // \x83z\x83X\x83g\x83L\x81[\x82̎\xED\x95ʔ\xE4\x8Ar _snprintf_s(emsg_tmp, sizeof(emsg_tmp), _TRUNCATE, - "type mismatch for decoded server_host_key_blob @ %s", __FUNCTION__); + "type mismatch for decoded server_host_key_blob (kex:%s blob:%s) @ %s", + get_ssh_keytype_name(pvar->hostkey_type), (hostkey->type), __FUNCTION__); emsg = emsg_tmp; goto error; }