const'ify two arguments to libssh2_knownhost_check()

This commit is contained in:
Daniel Stenberg 2009-07-10 00:54:59 +02:00
parent 0751067c2f
commit c0d032a45c
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (c) 2004-2008, Sara Golemon <sarag@libssh2.org>
/* Copyright (c) 2004-2009, Sara Golemon <sarag@libssh2.org>
* Copyright (c) 2009 by Daniel Stenberg
* All rights reserved.
*
@ -764,7 +764,7 @@ libssh2_knownhost_add(LIBSSH2_KNOWNHOSTS *hosts,
LIBSSH2_API int
libssh2_knownhost_check(LIBSSH2_KNOWNHOSTS *hosts,
char *host, char *key, size_t keylen,
const char *host, const char *key, size_t keylen,
int typemask,
struct libssh2_knownhost **knownhost);

View File

@ -239,7 +239,7 @@ libssh2_knownhost_add(LIBSSH2_KNOWNHOSTS *hosts,
*/
LIBSSH2_API int
libssh2_knownhost_check(LIBSSH2_KNOWNHOSTS *hosts,
char *host, char *key, size_t keylen,
const char *host, const char *key, size_t keylen,
int typemask,
struct libssh2_knownhost **ext)
{