Develop and Download Open Source Software

Browse Subversion Repository

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

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

revision 4324 by maya, Sat Feb 19 11:07:05 2011 UTC revision 4378 by maya, Tue Mar 8 14:19:03 2011 UTC
# Line 1495  void AUTH_get_auth_info(PTInstVar pvar, Line 1495  void AUTH_get_auth_info(PTInstVar pvar,
1495                                  else if (pvar->auth_state.cur_cred.method == SSH_AUTH_PAGEANT) {                                  else if (pvar->auth_state.cur_cred.method == SSH_AUTH_PAGEANT) {
1496                                          int len = get_uint32_MSBfirst(pvar->pageant_curkey + 4);                                          int len = get_uint32_MSBfirst(pvar->pageant_curkey + 4);
1497                                          char *s = (char *)malloc(len+1);                                          char *s = (char *)malloc(len+1);
1498                                          enum ssh_keytype keytype;                                          ssh_keytype keytype;
1499    
1500                                          memcpy(s, pvar->pageant_curkey+4+4, len);                                          memcpy(s, pvar->pageant_curkey+4+4, len);
1501                                          s[len] = '\0';                                          s[len] = '\0';

Legend:
Removed from v.4324  
changed lines
  Added in v.4378

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