summaryrefslogtreecommitdiffstats
path: root/include/libssh/legacy.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-10-05 17:50:31 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-10-29 19:58:28 +0200
commite799c0ce7d046606d9391d826461c2782f072fa0 (patch)
treef5dc2ed2f464bf14db83d4e89dce18138bd621c3 /include/libssh/legacy.h
parent2cc48db67389faea965e4f67f2292e5a612f8082 (diff)
downloadlibssh-e799c0ce7d046606d9391d826461c2782f072fa0.tar.gz
libssh-e799c0ce7d046606d9391d826461c2782f072fa0.tar.xz
libssh-e799c0ce7d046606d9391d826461c2782f072fa0.zip
dh: Add ssh_get_publickey().
Diffstat (limited to 'include/libssh/legacy.h')
-rw-r--r--include/libssh/legacy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/legacy.h b/include/libssh/legacy.h
index 1225daf..969544c 100644
--- a/include/libssh/legacy.h
+++ b/include/libssh/legacy.h
@@ -105,6 +105,7 @@ LIBSSH_API int ssh_try_publickey_from_file(ssh_session session, const char *keyf
ssh_string *publickey, int *type);
LIBSSH_API enum ssh_keytypes_e ssh_privatekey_type(ssh_private_key privatekey);
+LIBSSH_API ssh_string ssh_get_pubkey(ssh_session session);
LIBSSH_API ssh_message ssh_message_retrieve(ssh_session session, uint32_t packettype);
LIBSSH_API ssh_public_key ssh_message_auth_publickey(ssh_message msg);