Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2929 by maya, Wed Nov 8 16:20:14 2006 UTC revision 2930 by maya, Tue Nov 14 09:00:40 2006 UTC
# Line 4917  static BOOL handle_SSH2_dh_kex_reply(PTI Line 4917  static BOOL handle_SSH2_dh_kex_reply(PTI
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);
# Line 5079  static BOOL handle_SSH2_dh_kex_reply(PTI Line 5080  static BOOL handle_SSH2_dh_kex_reply(PTI
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          }          }
# Line 6967  static BOOL handle_SSH2_window_adjust(PT Line 6969  static BOOL handle_SSH2_window_adjust(PT
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

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26