Revision | 5831 (tree) |
---|---|
Time | 2015-03-27 18:04:12 |
Author | (del#1144) |
デバッグメッセージを追加
@@ -5411,7 +5411,8 @@ | ||
5411 | 5411 | // known_hosts対応 (2006.3.20 yutaka) |
5412 | 5412 | if (hostkey->type != pvar->hostkey_type) { // ホストキーの種別比較 |
5413 | 5413 | _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__); | |
5415 | 5416 | emsg = emsg_tmp; |
5416 | 5417 | goto error; |
5417 | 5418 | } |
@@ -5635,7 +5636,8 @@ | ||
5635 | 5636 | // known_hosts対応 (2006.3.20 yutaka) |
5636 | 5637 | if (hostkey->type != pvar->hostkey_type) { // ホストキーの種別比較 |
5637 | 5638 | _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__); | |
5639 | 5641 | emsg = emsg_tmp; |
5640 | 5642 | goto error; |
5641 | 5643 | } |
@@ -5868,7 +5870,8 @@ | ||
5868 | 5870 | // known_hosts対応 (2006.3.20 yutaka) |
5869 | 5871 | if (hostkey->type != pvar->hostkey_type) { // ホストキーの種別比較 |
5870 | 5872 | _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__); | |
5872 | 5875 | emsg = emsg_tmp; |
5873 | 5876 | goto error; |
5874 | 5877 | } |