[BACK]Return to sshconnect2.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sshconnect2.c between version 1.14 and 1.15

version 1.14, 2000/06/19 00:50:11 version 1.15, 2000/06/21 16:46:10
Line 315 
Line 315 
                 success = load_private_key(filename, passphrase, k, NULL);                  success = load_private_key(filename, passphrase, k, NULL);
                 memset(passphrase, 0, strlen(passphrase));                  memset(passphrase, 0, strlen(passphrase));
                 xfree(passphrase);                  xfree(passphrase);
                 if (!success)                  if (!success) {
                           key_free(k);
                         return 0;                          return 0;
                   }
         }          }
         dsa_make_key_blob(k, &blob, &bloblen);          dsa_make_key_blob(k, &blob, &bloblen);
   
Line 347 
Line 349 
         buffer_dump(&b);          buffer_dump(&b);
 #endif  #endif
         if (datafellows & SSH_BUG_PUBKEYAUTH) {          if (datafellows & SSH_BUG_PUBKEYAUTH) {
                 /* e.g. ssh-2.0.13: data-to-be-signed != data-on-the-wire */  
                 buffer_clear(&b);                  buffer_clear(&b);
                 buffer_append(&b, session_id2, session_id2_len);                  buffer_append(&b, session_id2, session_id2_len);
                 buffer_put_char(&b, SSH2_MSG_USERAUTH_REQUEST);                  buffer_put_char(&b, SSH2_MSG_USERAUTH_REQUEST);

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15