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 3170 by maya, Sat Nov 22 10:05:33 2008 UTC revision 3173 by maya, Sun Nov 23 12:34:33 2008 UTC
# Line 3948  void SSH2_update_cipher_myproposal(PTIns Line 3948  void SSH2_update_cipher_myproposal(PTIns
3948                          strncat_s(buf, sizeof(buf), "cast128-cbc,", _TRUNCATE);                          strncat_s(buf, sizeof(buf), "cast128-cbc,", _TRUNCATE);
3949                  }                  }
3950          }          }
3951          if (buf[0] != '\0') {          len = strlen(buf);
3952                  len = strlen(buf);          buf[len - 1] = '\0';  // get rid of comma
3953                  buf[len - 1] = '\0';  // get rid of comma          myproposal[PROPOSAL_ENC_ALGS_CTOS] = buf;  // Client To Server
3954                  myproposal[PROPOSAL_ENC_ALGS_CTOS] = buf;  // Client To Server          myproposal[PROPOSAL_ENC_ALGS_STOC] = buf;  // Server To Client
                 myproposal[PROPOSAL_ENC_ALGS_STOC] = buf;  // Server To Client  
         }  
3955  }  }
3956    
3957    

Legend:
Removed from v.3170  
changed lines
  Added in v.3173

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