diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-30 13:58:20 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-30 13:58:20 +0000 |
commit | 567cc5984abc6b1380f8a807a0a8f197bb8a3b93 (patch) | |
tree | e8a58771a88ff810214c93ed27db853a632a4abb /include | |
parent | 06a0dea2add09bdadc870a7f664c17c00a326f89 (diff) | |
download | libssh-567cc5984abc6b1380f8a807a0a8f197bb8a3b93.tar.gz libssh-567cc5984abc6b1380f8a807a0a8f197bb8a3b93.tar.xz libssh-567cc5984abc6b1380f8a807a0a8f197bb8a3b93.zip |
Improve the autopubkey authentication.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@658 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/libssh.h | 6 |
1 files changed, 3 insertions, 3 deletions
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); |