[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.15 and 1.16

version 1.15, 2022/10/28 00:43:08 version 1.16, 2022/10/28 00:44:17
Line 78 
Line 78 
 }  }
   
 static int  static int
   ssh_ecdsa_sk_serialize_private(const struct sshkey *key, struct sshbuf *b,
       enum sshkey_serialize_rep opts)
   {
           int r;
   
           if (!sshkey_is_cert(key)) {
                   if ((r = sshkey_ecdsa_funcs.serialize_public(key,
                       b, opts)) != 0)
                           return r;
           }
           if ((r = sshkey_serialize_private_sk(key, b)) != 0)
                   return r;
   
           return 0;
   }
   
   static int
 ssh_ecdsa_sk_copy_public(const struct sshkey *from, struct sshkey *to)  ssh_ecdsa_sk_copy_public(const struct sshkey *from, struct sshkey *to)
 {  {
         int r;          int r;
Line 369 
Line 386 
         /* .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,
         /* .ssh_deserialize_public = */ ssh_ecdsa_sk_deserialize_public,          /* .ssh_deserialize_public = */ ssh_ecdsa_sk_deserialize_public,
           /* .ssh_serialize_private = */ ssh_ecdsa_sk_serialize_private,
         /* .generate = */       NULL,          /* .generate = */       NULL,
         /* .copy_public = */    ssh_ecdsa_sk_copy_public,          /* .copy_public = */    ssh_ecdsa_sk_copy_public,
         /* .sign = */           NULL,          /* .sign = */           NULL,

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16