diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-07-24 21:23:07 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-07-24 21:23:07 +0200 |
commit | 8f3891e968bad4b9fb06e92f5a893dd30a343677 (patch) | |
tree | 46272bdd113d2bf09b491fee40db3c52e266dd98 /include/libssh/priv.h | |
parent | 958a775afaf95837c78bfe3ef5941aaeede26ddc (diff) | |
download | libssh-8f3891e968bad4b9fb06e92f5a893dd30a343677.tar.gz libssh-8f3891e968bad4b9fb06e92f5a893dd30a343677.tar.xz libssh-8f3891e968bad4b9fb06e92f5a893dd30a343677.zip |
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.
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r-- | include/libssh/priv.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |