aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-15 20:47:12 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-16 00:47:43 +0200
commit3f70bce3734e05a67b0aef21ed1672e17ba6ffc0 (patch)
tree6220d5d38fbf29c49c74942f1e8ec0ccc82eef16 /include/libssh/libssh.h
parent6c1b508efd5c8d5081d26d2c085f201ebeafaa0b (diff)
downloadlibssh-3f70bce3734e05a67b0aef21ed1672e17ba6ffc0.tar.gz
libssh-3f70bce3734e05a67b0aef21ed1672e17ba6ffc0.tar.xz
libssh-3f70bce3734e05a67b0aef21ed1672e17ba6ffc0.zip
pki: Rename ssh_pki_publickey_to_string and make it public.
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index df06e840..b74a2bcb 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -440,6 +440,7 @@ LIBSSH_API int ssh_pki_import_pubkey_base64(ssh_session session,
LIBSSH_API int ssh_pki_import_pubkey_blob(ssh_session session,
const ssh_string key_blob,
ssh_key *pkey);
+LIBSSH_API ssh_string ssh_pki_publickey_to_blob(const ssh_key key);
LIBSSH_API int ssh_userauth_pki_pubkey(ssh_session session, const char *username,
ssh_string publickey, ssh_key privatekey);