summaryrefslogtreecommitdiffstats
path: root/include/libssh/legacy.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-23 20:23:14 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-23 21:54:02 +0200
commit4c1d3b708c7bd6b52fe40dbf1a04089a1f406950 (patch)
tree5780d716038cb0ce2df152ed0b575d72f0b03a71 /include/libssh/legacy.h
parent379d65eaaf14c7ad699bb3752a5866ccb614f1af (diff)
downloadlibssh-4c1d3b708c7bd6b52fe40dbf1a04089a1f406950.tar.gz
libssh-4c1d3b708c7bd6b52fe40dbf1a04089a1f406950.tar.xz
libssh-4c1d3b708c7bd6b52fe40dbf1a04089a1f406950.zip
auth: Make ssh_userauth_pubkey legacy.
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 1905e89..9e5c9f0 100644
--- a/include/libssh/legacy.h
+++ b/include/libssh/legacy.h
@@ -32,6 +32,7 @@
#define LEGACY_H_
LIBSSH_API int ssh_auth_list(ssh_session session);
LIBSSH_API int ssh_userauth_offer_pubkey(ssh_session session, const char *username, int type, ssh_string publickey);
+LIBSSH_API int ssh_userauth_pubkey(ssh_session session, const char *username, ssh_string publickey, ssh_private_key privatekey);
LIBSSH_API void buffer_free(ssh_buffer buffer);
LIBSSH_API void *buffer_get(ssh_buffer buffer);