[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.5 and 1.6

version 1.5, 2019/09/05 05:42:59 version 1.6, 2019/10/02 08:07:13
Line 170 
Line 170 
             (r = sshbuf_put_cstring(tosign, sig_namespace)) != 0 ||              (r = sshbuf_put_cstring(tosign, sig_namespace)) != 0 ||
             (r = sshbuf_put_string(tosign, NULL, 0)) != 0 || /* reserved */              (r = sshbuf_put_string(tosign, NULL, 0)) != 0 || /* reserved */
             (r = sshbuf_put_cstring(tosign, hashalg)) != 0 ||              (r = sshbuf_put_cstring(tosign, hashalg)) != 0 ||
             (r = sshbuf_putb(tosign, h_message)) != 0) {              (r = sshbuf_put_stringb(tosign, h_message)) != 0) {
                 error("Couldn't construct message to sign: %s", ssh_err(r));                  error("Couldn't construct message to sign: %s", ssh_err(r));
                 goto done;                  goto done;
         }          }
Line 306 
Line 306 
             (r = sshbuf_put_cstring(toverify, expect_namespace)) != 0 ||              (r = sshbuf_put_cstring(toverify, expect_namespace)) != 0 ||
             (r = sshbuf_put_string(toverify, NULL, 0)) != 0 || /* reserved */              (r = sshbuf_put_string(toverify, NULL, 0)) != 0 || /* reserved */
             (r = sshbuf_put_cstring(toverify, hashalg)) != 0 ||              (r = sshbuf_put_cstring(toverify, hashalg)) != 0 ||
             (r = sshbuf_putb(toverify, h_message)) != 0) {              (r = sshbuf_put_stringb(toverify, h_message)) != 0) {
                 error("Couldn't construct message to verify: %s", ssh_err(r));                  error("Couldn't construct message to verify: %s", ssh_err(r));
                 goto done;                  goto done;
         }          }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6