From 8f3891e968bad4b9fb06e92f5a893dd30a343677 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Fri, 24 Jul 2009 21:23:07 +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 46c13d8..e3c934d 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -652,6 +652,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 ssh_keys_struct keytab, + char **privkeyfile, int *type); /* in keys.c */ const char *ssh_type_to_char(int type); -- cgit