diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-05-21 04:55:51 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-05-21 15:06:06 +1000 |
commit | d80fbe41a57c72420c87a628444da16d09d66ca7 (patch) | |
tree | e2bb0b30b20135044ac822ee2535c12337124fb6 /sshkey.h | |
parent | 7cc44ef74133a473734bbcbd3484f24d6a7328c5 (diff) |
upstream commit
refactor: split base64 encoding of pubkey into its own
sshkey_to_base64() function and out of sshkey_write(); ok markus@
Upstream-ID: 54fc38f5832e9b91028900819bda46c3959a0c1a
Diffstat (limited to 'sshkey.h')
-rw-r--r-- | sshkey.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshkey.h,v 1.5 2015/01/26 02:59:11 djm Exp $ */ | 1 | /* $OpenBSD: sshkey.h,v 1.6 2015/05/21 04:55:51 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
@@ -163,6 +163,7 @@ int sshkey_from_blob(const u_char *, size_t, struct sshkey **); | |||
163 | int sshkey_fromb(struct sshbuf *, struct sshkey **); | 163 | int sshkey_fromb(struct sshbuf *, struct sshkey **); |
164 | int sshkey_froms(struct sshbuf *, struct sshkey **); | 164 | int sshkey_froms(struct sshbuf *, struct sshkey **); |
165 | int sshkey_to_blob(const struct sshkey *, u_char **, size_t *); | 165 | int sshkey_to_blob(const struct sshkey *, u_char **, size_t *); |
166 | int sshkey_to_base64(const struct sshkey *, char **); | ||
166 | int sshkey_putb(const struct sshkey *, struct sshbuf *); | 167 | int sshkey_putb(const struct sshkey *, struct sshbuf *); |
167 | int sshkey_puts(const struct sshkey *, struct sshbuf *); | 168 | int sshkey_puts(const struct sshkey *, struct sshbuf *); |
168 | int sshkey_plain_to_blob(const struct sshkey *, u_char **, size_t *); | 169 | int sshkey_plain_to_blob(const struct sshkey *, u_char **, size_t *); |