summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.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/libssh.h
parent2cc48db67389faea965e4f67f2292e5a612f8082 (diff)
downloadlibssh-e799c0ce7d046606d9391d826461c2782f072fa0.tar.gz
libssh-e799c0ce7d046606d9391d826461c2782f072fa0.tar.xz
libssh-e799c0ce7d046606d9391d826461c2782f072fa0.zip
dh: Add ssh_get_publickey().
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 961dfc00..d09d9331 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -398,7 +398,7 @@ LIBSSH_API socket_t ssh_get_fd(ssh_session session);
LIBSSH_API char *ssh_get_hexa(const unsigned char *what, size_t len);
LIBSSH_API char *ssh_get_issue_banner(ssh_session session);
LIBSSH_API int ssh_get_openssh_version(ssh_session session);
-LIBSSH_API ssh_string ssh_get_pubkey(ssh_session session);
+LIBSSH_API int ssh_get_publickey(ssh_session session, ssh_key *key);
LIBSSH_API int ssh_get_pubkey_hash(ssh_session session, unsigned char **hash);
LIBSSH_API int ssh_get_random(void *where,int len,int strong);
LIBSSH_API int ssh_get_version(ssh_session session);