aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorMarius Vollmer <mvollmer@redhat.com>2020-09-02 15:41:00 +0300
committerAndreas Schneider <asn@cryptomilk.org>2020-12-10 09:22:13 +0100
commitabc88c025c0e1530c7de5531281eb4404135b5ce (patch)
tree572e80892cff2fc94dbb282678d43948978f9328 /include/libssh
parent026879e9f0d766ebe651e6d3fd9809e243928391 (diff)
downloadlibssh-abc88c025c0e1530c7de5531281eb4404135b5ce.tar.gz
libssh-abc88c025c0e1530c7de5531281eb4404135b5ce.tar.xz
libssh-abc88c025c0e1530c7de5531281eb4404135b5ce.zip
auth: Add ssh_userauth_publickey_auto_get_current_identity()
Signed-off-by: Marius Vollmer <mvollmer@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/libssh.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 12ff322d..d8b35950 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -757,6 +757,8 @@ LIBSSH_API int ssh_userauth_publickey(ssh_session session,
LIBSSH_API int ssh_userauth_agent(ssh_session session,
const char *username);
#endif
+LIBSSH_API int ssh_userauth_publickey_auto_get_current_identity(ssh_session session,
+ char** value);
LIBSSH_API int ssh_userauth_publickey_auto(ssh_session session,
const char *username,
const char *passphrase);