[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.264 and 1.265

version 1.264, 2017/06/14 00:31:38 version 1.265, 2017/08/11 04:47:12
Line 1029 
Line 1029 
         /* load the private key from the file */          /* load the private key from the file */
         if ((prv = load_identity_file(id)) == NULL)          if ((prv = load_identity_file(id)) == NULL)
                 return SSH_ERR_KEY_NOT_FOUND;                  return SSH_ERR_KEY_NOT_FOUND;
           if (id->key != NULL && !sshkey_equal_public(prv, id->key)) {
                   error("%s: private key %s contents do not match public",
                      __func__, id->filename);
                   return SSH_ERR_KEY_NOT_FOUND;
           }
         ret = sshkey_sign(prv, sigp, lenp, data, datalen,          ret = sshkey_sign(prv, sigp, lenp, data, datalen,
             key_sign_encode(prv), compat);              key_sign_encode(prv), compat);
         sshkey_free(prv);          sshkey_free(prv);

Legend:
Removed from v.1.264  
changed lines
  Added in v.1.265