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 5841 by yutakapon, Thu Apr 30 16:27:29 2015 UTC revision 5842 by yutakapon, Fri May 1 07:39:45 2015 UTC
# Line 4454  void SSH2_update_host_key_myproposal(PTI Line 4454  void SSH2_update_host_key_myproposal(PTI
4454                  strncat_s(buf, sizeof(buf), ",", _TRUNCATE);                  strncat_s(buf, sizeof(buf), ",", _TRUNCATE);
4455          }          }
4456          len = strlen(buf);          len = strlen(buf);
4457          buf[len - 1] = '\0';  // get rid of comma          if (len > 0)
4458                    buf[len - 1] = '\0';  // get rid of comma
4459          myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = buf;          myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = buf;
4460  }  }
4461    

Legend:
Removed from v.5841  
changed lines
  Added in v.5842

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