Skip to content

Commit

Permalink
fixup-6315a02e
Browse files Browse the repository at this point in the history
  • Loading branch information
djmdjm committed Jul 1, 2022
1 parent 98a023e commit 98c5649
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ssh-ecdsa-sk.c
Expand Up @@ -88,7 +88,7 @@ ssh_ecdsa_sk_serialize_private(const struct sshkey *key, struct sshbuf *b,
b, opts)) != 0)
return r;
}
if ((r = sshkey_private_serialize_sk(key, b)) != 0)
if ((r = sshkey_serialize_private_sk(key, b)) != 0)
return r;

return 0;
Expand Down
2 changes: 1 addition & 1 deletion ssh-ed25519-sk.c
Expand Up @@ -75,7 +75,7 @@ ssh_ed25519_sk_serialize_private(const struct sshkey *key, struct sshbuf *b,

if ((r = sshkey_ed25519_funcs.serialize_public(key, b, opts)) != 0)
return r;
if ((r = sshkey_private_serialize_sk(key, b)) != 0)
if ((r = sshkey_serialize_private_sk(key, b)) != 0)
return r;

return 0;
Expand Down
2 changes: 1 addition & 1 deletion sshkey.c
Expand Up @@ -2366,7 +2366,7 @@ sshkey_format_cert_validity(const struct sshkey_cert *cert, char *s, size_t l)

/* Common serialization for FIDO private keys */
int
sshkey_private_serialize_sk(const struct sshkey *key, struct sshbuf *b)
sshkey_serialize_private_sk(const struct sshkey *key, struct sshbuf *b)
{
int r;

Expand Down
2 changes: 1 addition & 1 deletion sshkey.h
Expand Up @@ -321,7 +321,7 @@ void sshkey_sk_cleanup(struct sshkey *k);
int sshkey_serialize_sk(const struct sshkey *key, struct sshbuf *b);
int sshkey_copy_public_sk(const struct sshkey *from, struct sshkey *to);
int sshkey_deserialize_sk(struct sshbuf *b, struct sshkey *key);
int sshkey_private_serialize_sk(const struct sshkey *key,
int sshkey_serialize_private_sk(const struct sshkey *key,
struct sshbuf *buf);
int sshkey_private_deserialize_sk(struct sshbuf *buf, struct sshkey *k);
#ifdef WITH_OPENSSL
Expand Down

0 comments on commit 98c5649

Please sign in to comment.