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

Diff for /src/usr.bin/ssh/ssh-ed25519.c between version 1.8 and 1.9

version 1.8, 2020/02/26 13:40:09 version 1.9, 2020/10/18 11:32:02
Line 137 
Line 137 
         memcpy(sm+len, data, datalen);          memcpy(sm+len, data, datalen);
         if ((ret = crypto_sign_ed25519_open(m, &mlen, sm, smlen,          if ((ret = crypto_sign_ed25519_open(m, &mlen, sm, smlen,
             key->ed25519_pk)) != 0) {              key->ed25519_pk)) != 0) {
                 debug2("%s: crypto_sign_ed25519_open failed: %d",                  debug2_f("crypto_sign_ed25519_open failed: %d", ret);
                     __func__, ret);  
         }          }
         if (ret != 0 || mlen != datalen) {          if (ret != 0 || mlen != datalen) {
                 r = SSH_ERR_SIGNATURE_INVALID;                  r = SSH_ERR_SIGNATURE_INVALID;

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