summaryrefslogtreecommitdiffstats
path: root/auth2.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-19 20:38:06 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-19 20:38:06 +0000
commit4aa603c150b6315f45d1f9d115203ad44a4d86f8 (patch)
tree027b28b969c59f45b4573d1ea3d6df691e2aeaba /auth2.c
parent2bffd6fd1b27351c0be1df55e42d5f616dccb051 (diff)
- markus@cvs.openbsd.org 2001/04/18 22:48:26
[auth2.c] no longer const
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth2.c b/auth2.c
index be07be91..5db8f8d5 100644
--- a/auth2.c
+++ b/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>
@@ -82,7 +82,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 */
@@ -792,7 +792,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;