aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-20 09:14:35 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-20 09:14:35 +0000
commite067061263de0e682eef8060777a2e730eb06b92 (patch)
tree6436897e96171887b0eae22a4bf28261fb982a16 /include
parent9001a34cd3d99607d38084479f7ba3e0d3e7c485 (diff)
downloadlibssh-e067061263de0e682eef8060777a2e730eb06b92.tar.gz
libssh-e067061263de0e682eef8060777a2e730eb06b92.tar.xz
libssh-e067061263de0e682eef8060777a2e730eb06b92.zip
Improve publickey_from_file().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@567 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include')
-rw-r--r--include/libssh/libssh.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index fc6a4230..205efa5c 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);