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

Diff for /src/usr.bin/ssh/ssh-sk.c between version 1.7 and 1.8

version 1.7, 2019/11/12 19:32:30 version 1.8, 2019/11/12 19:34:00
Line 361 
Line 361 
         int r = SSH_ERR_INTERNAL_ERROR;          int r = SSH_ERR_INTERNAL_ERROR;
   
         *retp = NULL;          *retp = NULL;
           /* Check response validity */
           if (resp->sig_r == NULL || resp->sig_r == NULL) {
                   error("%s: sk_sign response invalid", __func__);
                   r = SSH_ERR_INVALID_FORMAT;
                   goto out;
           }
         if ((inner_sig = sshbuf_new()) == NULL) {          if ((inner_sig = sshbuf_new()) == NULL) {
                 r = SSH_ERR_ALLOC_FAIL;                  r = SSH_ERR_ALLOC_FAIL;
                 goto out;                  goto out;
Line 396 
Line 402 
         int r = SSH_ERR_INTERNAL_ERROR;          int r = SSH_ERR_INTERNAL_ERROR;
   
         *retp = NULL;          *retp = NULL;
           /* Check response validity */
           if (resp->sig_r == NULL) {
                   error("%s: sk_sign response invalid", __func__);
                   r = SSH_ERR_INVALID_FORMAT;
                   goto out;
           }
         if ((inner_sig = sshbuf_new()) == NULL) {          if ((inner_sig = sshbuf_new()) == NULL) {
                 r = SSH_ERR_ALLOC_FAIL;                  r = SSH_ERR_ALLOC_FAIL;
                 goto out;                  goto out;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8