From ad86a378d9ef7eff8131a0495ca36ceb6a6eace0 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 29 Jul 2009 17:40:17 +0200 Subject: moved try_publickey_from_file in priv.h Had nothing to do in libssh.h. 100% sure nobody used it since one of the structure declaration was not public. --- include/libssh/priv.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/libssh/priv.h') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index b01b4e93..01a6a858 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -608,6 +608,9 @@ char *ssh_find_matching(const char *in_d, const char *what_d); PRIVATE_KEY *_privatekey_from_file(void *session, const char *filename, int type); +STRING *try_publickey_from_file(SSH_SESSION *session, + struct keys_struct keytab, + char **privkeyfile, int *type); /* in keys.c */ const char *ssh_type_to_char(int type); -- cgit