From e067061263de0e682eef8060777a2e730eb06b92 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 20 Apr 2009 09:14:35 +0000 Subject: Improve publickey_from_file(). git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@567 7dcaeef0-15fb-0310-b436-a5af3365683c --- include/libssh/libssh.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/libssh/libssh.h') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index fc6a423..205efa5 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -253,7 +253,8 @@ PRIVATE_KEY *privatekey_from_file(SSH_SESSION *session, const char *filename, STRING *publickey_to_string(PUBLIC_KEY *key); 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_file(SSH_SESSION *session, const char *filename, + int *type); STRING *publickey_from_next_file(SSH_SESSION *session, const char **pub_keys_path, const char **keys_path, char **privkeyfile, int *type, int *count); int ssh_is_server_known(SSH_SESSION *session); -- cgit