summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libssh/dh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/dh.c b/libssh/dh.c
index 39f468a..0ef3c90 100644
--- a/libssh/dh.c
+++ b/libssh/dh.c
@@ -587,7 +587,7 @@ STRING *ssh_get_pubkey(SSH_SESSION *session){
}
/* XXX i doubt it is still needed, or may need some fix */
-static int match(char *group,char *object){
+static int match(const char *group, const char *object){
char *ptr,*saved;
char *end;
ptr=strdup(group);