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

Diff for /src/usr.bin/ssh/ssh-ecdsa-sk.c between version 1.12 and 1.13

version 1.12, 2022/10/28 00:39:29 version 1.13, 2022/10/28 00:41:17
Line 78 
Line 78 
         return 0;          return 0;
 }  }
   
   static int
   ssh_ecdsa_sk_copy_public(const struct sshkey *from, struct sshkey *to)
   {
           int r;
   
           if ((r = sshkey_ecdsa_funcs.copy_public(from, to)) != 0)
                   return r;
           if ((r = sshkey_copy_public_sk(from, to)) != 0)
                   return r;
           return 0;
   }
   
 /*  /*
  * Check FIDO/W3C webauthn signatures clientData field against the expected   * Check FIDO/W3C webauthn signatures clientData field against the expected
  * format and prepare a hash of it for use in signature verification.   * format and prepare a hash of it for use in signature verification.
Line 345 
Line 357 
         /* .equal = */          ssh_ecdsa_sk_equal,          /* .equal = */          ssh_ecdsa_sk_equal,
         /* .ssh_serialize_public = */ ssh_ecdsa_sk_serialize_public,          /* .ssh_serialize_public = */ ssh_ecdsa_sk_serialize_public,
         /* .generate = */       NULL,          /* .generate = */       NULL,
           /* .copy_public = */    ssh_ecdsa_sk_copy_public,
 };  };
   
 const struct sshkey_impl sshkey_ecdsa_sk_impl = {  const struct sshkey_impl sshkey_ecdsa_sk_impl = {

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