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

Diff for /src/usr.bin/ssh/sshsig.c between version 1.12 and 1.13

version 1.12, 2020/03/06 18:13:29 version 1.13, 2020/03/06 18:27:15
Line 961 
Line 961 
                 goto done;                  goto done;
         }          }
  done:   done:
         if (found) {          if (found && principalsp != NULL) {
                 *principalsp = principals;                  *principalsp = principals;
                 principals = NULL; /* transferred */                  principals = NULL; /* transferred */
         }          }
Line 1024 
Line 1024 
         struct sshkey *pk = NULL;          struct sshkey *pk = NULL;
         int r = SSH_ERR_SIGNATURE_INVALID;          int r = SSH_ERR_SIGNATURE_INVALID;
   
         if (pubkey != NULL)          if (pubkey == NULL)
                 *pubkey = NULL;                  return SSH_ERR_INTERNAL_ERROR;
         if ((r = sshsig_parse_preamble(signature)) != 0)          if ((r = sshsig_parse_preamble(signature)) != 0)
                 return r;                  return r;
         if ((r = sshkey_froms(signature, &pk)) != 0)          if ((r = sshkey_froms(signature, &pk)) != 0)

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13