aboutsummaryrefslogtreecommitdiff
path: root/libssh/keyfiles.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-05 09:41:54 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-05 09:41:54 +0000
commit139eb4696c990e8429f2bc3abf1d9bb144effdee (patch)
treeaffb0a0ab4ec3fd1cb99649e5ae6a789e43d4bb5 /libssh/keyfiles.c
parentef1a41efcf92d7914f93b1cc851bcb5b22518172 (diff)
downloadlibssh-139eb4696c990e8429f2bc3abf1d9bb144effdee.tar.gz
libssh-139eb4696c990e8429f2bc3abf1d9bb144effdee.tar.xz
libssh-139eb4696c990e8429f2bc3abf1d9bb144effdee.zip
Fix build warnings, mostly const chars.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@394 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/keyfiles.c')
-rw-r--r--libssh/keyfiles.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/keyfiles.c b/libssh/keyfiles.c
index 7d922270..fde20865 100644
--- a/libssh/keyfiles.c
+++ b/libssh/keyfiles.c
@@ -739,8 +739,8 @@ STRING *publickey_from_file(SSH_SESSION *session,char *filename,int *_type){
/* why recursing ? i'll explain. on top, publickey_from_next_file will be executed until NULL returned */
/* we can't return null if one of the possible keys is wrong. we must test them before getting over */
-STRING *publickey_from_next_file(SSH_SESSION *session,char **pub_keys_path,char **keys_path,
- char **privkeyfile,int *type,int *count){
+STRING *publickey_from_next_file(SSH_SESSION *session, const char **pub_keys_path,
+ const char **keys_path, char **privkeyfile, int *type, int *count) {
static char *home=NULL;
char public[256];
char private[256];