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 2757 by yutakakn, Fri Dec 17 14:05:55 2004 UTC revision 2758 by yutakakn, Fri Dec 17 14:28:36 2004 UTC
# Line 2287  static char *myproposal[PROPOSAL_MAX] = Line 2287  static char *myproposal[PROPOSAL_MAX] =
2287          "ssh-rsa,ssh-dss",          "ssh-rsa,ssh-dss",
2288          "3des-cbc,aes128-cbc",          "3des-cbc,aes128-cbc",
2289          "3des-cbc,aes128-cbc",          "3des-cbc,aes128-cbc",
2290          "hmac-sha1,hmac-md5",          "hmac-md5,hmac-sha1",
2291          "hmac-sha1,hmac-md5",          "hmac-md5,hmac-sha1",
2292    //      "hmac-sha1,hmac-md5",
2293    //      "hmac-sha1,hmac-md5",
2294  //      "hmac-sha1",  //      "hmac-sha1",
2295  //      "hmac-sha1",  //      "hmac-sha1",
2296          "none",          "none",
# Line 2298  static char *myproposal[PROPOSAL_MAX] = Line 2300  static char *myproposal[PROPOSAL_MAX] =
2300  };  };
2301  #else  #else
2302  static char *myproposal[PROPOSAL_MAX] = {  static char *myproposal[PROPOSAL_MAX] = {
2303          "diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha1",          "diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1",
2304          "ssh-rsa,ssh-dss",          "ssh-rsa,ssh-dss",
2305          "3des-cbc,aes128-cbc",          "3des-cbc,aes128-cbc",
2306          "3des-cbc,aes128-cbc",          "3des-cbc,aes128-cbc",
# Line 2546  static enum hmac_type choose_SSH2_hmac_a Line 2548  static enum hmac_type choose_SSH2_hmac_a
2548  static void choose_SSH2_key_maxlength(PTInstVar pvar)  static void choose_SSH2_key_maxlength(PTInstVar pvar)
2549  {  {
2550          int mode, need, val, ctos;          int mode, need, val, ctos;
         char *macname;  
2551          const EVP_MD *md;          const EVP_MD *md;
2552    
2553          for (mode = 0; mode < MODE_MAX; mode++) {          for (mode = 0; mode < MODE_MAX; mode++) {
# Line 2603  static void choose_SSH2_key_maxlength(PT Line 2604  static void choose_SSH2_key_maxlength(PT
2604          }          }
2605          pvar->we_need = need;          pvar->we_need = need;
2606    
 error:;  
2607  }  }
2608    
2609    
# Line 4571  static BOOL handle_SSH2_window_adjust(PT Line 4571  static BOOL handle_SSH2_window_adjust(PT
4571    
4572  /*  /*
4573   * $Log: not supported by cvs2svn $   * $Log: not supported by cvs2svn $
4574     * Revision 1.6  2004/12/17 14:05:55  yutakakn
4575     * パケット受信時のHMACチェックを追加。
4576     * KEXにおけるHMACアルゴリズムチェックを追加。
4577     *
4578   * Revision 1.5  2004/12/11 07:31:00  yutakakn   * Revision 1.5  2004/12/11 07:31:00  yutakakn
4579   * SSH heartbeatスレッドの追加した。これにより、IPマスカレード環境において、ルータの   * SSH heartbeatスレッドの追加した。これにより、IPマスカレード環境において、ルータの
4580   * NATテーブルクリアにより、SSHコネクションが切断される現象が回避される。   * NATテーブルクリアにより、SSHコネクションが切断される現象が回避される。

Legend:
Removed from v.2757  
changed lines
  Added in v.2758

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