summaryrefslogtreecommitdiff
path: root/sshkey.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-05-21 04:55:51 +0000
committerDamien Miller <djm@mindrot.org>2015-05-21 15:06:06 +1000
commitd80fbe41a57c72420c87a628444da16d09d66ca7 (patch)
treee2bb0b30b20135044ac822ee2535c12337124fb6 /sshkey.h
parent7cc44ef74133a473734bbcbd3484f24d6a7328c5 (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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sshkey.h b/sshkey.h
index 62c1c3e2f..cdac0e255 100644
--- a/sshkey.h
+++ b/sshkey.h
@@ -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 **);
163int sshkey_fromb(struct sshbuf *, struct sshkey **); 163int sshkey_fromb(struct sshbuf *, struct sshkey **);
164int sshkey_froms(struct sshbuf *, struct sshkey **); 164int sshkey_froms(struct sshbuf *, struct sshkey **);
165int sshkey_to_blob(const struct sshkey *, u_char **, size_t *); 165int sshkey_to_blob(const struct sshkey *, u_char **, size_t *);
166int sshkey_to_base64(const struct sshkey *, char **);
166int sshkey_putb(const struct sshkey *, struct sshbuf *); 167int sshkey_putb(const struct sshkey *, struct sshbuf *);
167int sshkey_puts(const struct sshkey *, struct sshbuf *); 168int sshkey_puts(const struct sshkey *, struct sshbuf *);
168int sshkey_plain_to_blob(const struct sshkey *, u_char **, size_t *); 169int sshkey_plain_to_blob(const struct sshkey *, u_char **, size_t *);