diff options
author | 2001-04-18 22:48:26 +0000 | |
---|---|---|
committer | 2001-04-18 22:48:26 +0000 | |
commit | 8e11dc9cdb56f07736b3eba58492a1b2620ee208 (patch) | |
tree | 08975f971d52837a02c25888eac3bc24205ee45d | |
parent | use FDQN with trailing dot in the hostbased auth packets, ok deraadt@ (diff) | |
download | wireguard-openbsd-8e11dc9cdb56f07736b3eba58492a1b2620ee208.tar.xz wireguard-openbsd-8e11dc9cdb56f07736b3eba58492a1b2620ee208.zip |
no longer const
-rw-r--r-- | usr.bin/ssh/auth2.c | 6 |
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; |