• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision5831 (tree)
Time2015-03-27 18:04:12
Author(del#1144)

Log Message

デバッグメッセージを追加

Change Summary

Incremental Difference

--- trunk/ttssh2/ttxssh/ssh.c (revision 5830)
+++ trunk/ttssh2/ttxssh/ssh.c (revision 5831)
@@ -5411,7 +5411,8 @@
54115411 // known_hosts対応 (2006.3.20 yutaka)
54125412 if (hostkey->type != pvar->hostkey_type) { // ホストキーの種別比較
54135413 _snprintf_s(emsg_tmp, sizeof(emsg_tmp), _TRUNCATE,
5414- "type mismatch for decoded server_host_key_blob @ %s", __FUNCTION__);
5414+ "type mismatch for decoded server_host_key_blob (kex:%s blob:%s) @ %s",
5415+ get_ssh_keytype_name(pvar->hostkey_type), (hostkey->type), __FUNCTION__);
54155416 emsg = emsg_tmp;
54165417 goto error;
54175418 }
@@ -5635,7 +5636,8 @@
56355636 // known_hosts対応 (2006.3.20 yutaka)
56365637 if (hostkey->type != pvar->hostkey_type) { // ホストキーの種別比較
56375638 _snprintf_s(emsg_tmp, sizeof(emsg_tmp), _TRUNCATE,
5638- "type mismatch for decoded server_host_key_blob @ %s", __FUNCTION__);
5639+ "type mismatch for decoded server_host_key_blob (kex:%s blob:%s) @ %s",
5640+ get_ssh_keytype_name(pvar->hostkey_type), (hostkey->type), __FUNCTION__);
56395641 emsg = emsg_tmp;
56405642 goto error;
56415643 }
@@ -5868,7 +5870,8 @@
58685870 // known_hosts対応 (2006.3.20 yutaka)
58695871 if (hostkey->type != pvar->hostkey_type) { // ホストキーの種別比較
58705872 _snprintf_s(emsg_tmp, sizeof(emsg_tmp), _TRUNCATE,
5871- "type mismatch for decoded server_host_key_blob @ %s", __FUNCTION__);
5873+ "type mismatch for decoded server_host_key_blob (kex:%s blob:%s) @ %s",
5874+ get_ssh_keytype_name(pvar->hostkey_type), (hostkey->type), __FUNCTION__);
58725875 emsg = emsg_tmp;
58735876 goto error;
58745877 }
Show on old repository browser