summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-04-18 22:48:26 +0000
committermarkus <markus@openbsd.org>2001-04-18 22:48:26 +0000
commit8e11dc9cdb56f07736b3eba58492a1b2620ee208 (patch)
tree08975f971d52837a02c25888eac3bc24205ee45d
parentuse FDQN with trailing dot in the hostbased auth packets, ok deraadt@ (diff)
downloadwireguard-openbsd-8e11dc9cdb56f07736b3eba58492a1b2620ee208.tar.xz
wireguard-openbsd-8e11dc9cdb56f07736b3eba58492a1b2620ee208.zip
no longer const
-rw-r--r--usr.bin/ssh/auth2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c
index 1cd40d5e47d..9b2aaba7d67 100644
--- a/usr.bin/ssh/auth2.c
+++ b/usr.bin/ssh/auth2.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth2.c,v 1.53 2001/04/18 22:03:44 markus Exp $");
+RCSID("$OpenBSD: auth2.c,v 1.54 2001/04/18 22:48:26 markus Exp $");
#include <openssl/evp.h>
@@ -78,7 +78,7 @@ Authmethod *authmethod_lookup(const char *name);
char *authmethods_get(void);
int user_key_allowed(struct passwd *pw, Key *key);
int
-hostbased_key_allowed(struct passwd *pw, const char *cuser, const char *chost,
+hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost,
Key *key);
/* auth */
@@ -734,7 +734,7 @@ user_key_allowed(struct passwd *pw, Key *key)
/* return 1 if given hostkey is allowed */
int
-hostbased_key_allowed(struct passwd *pw, const char *cuser, const char *chost,
+hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost,
Key *key)
{
Key *found;