From 567cc5984abc6b1380f8a807a0a8f197bb8a3b93 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 30 Apr 2009 13:58:20 +0000 Subject: Improve the autopubkey authentication. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@658 7dcaeef0-15fb-0310-b436-a5af3365683c --- include/libssh/libssh.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index d2e6219b..828655ee 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -256,9 +256,9 @@ PUBLIC_KEY *publickey_from_privatekey(PRIVATE_KEY *prv); void privatekey_free(PRIVATE_KEY *prv); STRING *publickey_from_file(SSH_SESSION *session, const char *filename, int *type); -STRING *publickey_from_next_file(SSH_SESSION *session, - struct keys_struct *keytab, size_t keytab_size, - char **privkeyfile, int *type, unsigned int *count); +STRING *try_publickey_from_file(SSH_SESSION *session, + struct keys_struct keytab, + char **privkeyfile, int *type); int ssh_is_server_known(SSH_SESSION *session); int ssh_write_knownhost(SSH_SESSION *session); -- cgit