aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-25 16:14:29 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-25 16:14:29 +0200
commitc59939d4a2b5673869ad0b72d5cf030edb680635 (patch)
treee56d03eaea561daf5f246c61ecf6d4c06ef05252 /include
parent5c601115c3397864d650ba6e97993c815dc4d377 (diff)
downloadlibssh-c59939d4a2b5673869ad0b72d5cf030edb680635.tar.gz
libssh-c59939d4a2b5673869ad0b72d5cf030edb680635.tar.xz
libssh-c59939d4a2b5673869ad0b72d5cf030edb680635.zip
auth: Make ssh_userauth_privatekey_file() legacy.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/legacy.h2
-rw-r--r--include/libssh/libssh.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/legacy.h b/include/libssh/legacy.h
index c8225a29..db151f86 100644
--- a/include/libssh/legacy.h
+++ b/include/libssh/legacy.h
@@ -38,6 +38,8 @@ LIBSSH_API int ssh_userauth_agent_pubkey(ssh_session session, const char *userna
ssh_public_key publickey);
#endif
LIBSSH_API int ssh_userauth_autopubkey(ssh_session session, const char *passphrase);
+LIBSSH_API int ssh_userauth_privatekey_file(ssh_session session, const char *username,
+ const char *filename, const char *passphrase);
LIBSSH_API void buffer_free(ssh_buffer buffer);
LIBSSH_API void *buffer_get(ssh_buffer buffer);
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 843cf2da..62a210a6 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -518,8 +518,6 @@ LIBSSH_API int ssh_userauth_kbdint_getnanswers(ssh_session session);
LIBSSH_API const char *ssh_userauth_kbdint_getanswer(ssh_session session, unsigned int i);
LIBSSH_API int ssh_userauth_kbdint_setanswer(ssh_session session, unsigned int i,
const char *answer);
-LIBSSH_API int ssh_userauth_privatekey_file(ssh_session session, const char *username,
- const char *filename, const char *passphrase);
LIBSSH_API const char *ssh_version(int req_version);
LIBSSH_API int ssh_write_knownhost(ssh_session session);