Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c
Parent Directory
| Revision Log
| Patch
| 4917 |
BIGNUM *share_key = NULL; |
BIGNUM *share_key = NULL; |
| 4918 |
char *hash; |
char *hash; |
| 4919 |
char *emsg, emsg_tmp[1024]; // error message |
char *emsg, emsg_tmp[1024]; // error message |
| 4920 |
|
int ret; |
| 4921 |
Key hostkey; // hostkey |
Key hostkey; // hostkey |
| 4922 |
|
|
| 4923 |
notify_verbose_message(pvar, "SSH2_MSG_KEXDH_REPLY is receiving", LOG_LEVEL_VERBOSE); |
notify_verbose_message(pvar, "SSH2_MSG_KEXDH_REPLY is receiving", LOG_LEVEL_VERBOSE); |
| 5080 |
} |
} |
| 5081 |
} |
} |
| 5082 |
|
|
| 5083 |
if (key_verify(rsa, dsa, signature, siglen, hash, 20) != 1) { |
if ((ret = key_verify(rsa, dsa, signature, siglen, hash, 20)) != 1) { |
| 5084 |
emsg = "key verify error @ handle_SSH2_dh_kex_reply()"; |
_snprintf(emsg_tmp, sizeof(emsg_tmp), "key verify error(%d) @ handle_SSH2_dh_kex_reply()", ret); |
| 5085 |
|
emsg = emsg_tmp; |
| 5086 |
save_memdump(LOGDUMP); |
save_memdump(LOGDUMP); |
| 5087 |
goto error; |
goto error; |
| 5088 |
} |
} |
| 6969 |
|
|
| 6970 |
/* |
/* |
| 6971 |
* $Log: not supported by cvs2svn $ |
* $Log: not supported by cvs2svn $ |
| 6972 |
|
* Revision 1.59 2006/11/08 16:20:14 maya |
| 6973 |
|
* デバッグ用コードを追加した。 |
| 6974 |
|
* |
| 6975 |
* Revision 1.58 2006/10/30 13:33:31 maya |
* Revision 1.58 2006/10/30 13:33:31 maya |
| 6976 |
* ttssh.logへの出力を追加した。 |
* ttssh.logへの出力を追加した。 |
| 6977 |
* |
* |
|
|
Legend:
| Removed from v.2929 |
|
| changed lines |
| |
Added in v.2930 |
|
|
| |