diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-19 20:38:06 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-19 20:38:06 +0000 |
commit | 4aa603c150b6315f45d1f9d115203ad44a4d86f8 (patch) | |
tree | 027b28b969c59f45b4573d1ea3d6df691e2aeaba | |
parent | 2bffd6fd1b27351c0be1df55e42d5f616dccb051 (diff) |
- markus@cvs.openbsd.org 2001/04/18 22:48:26
[auth2.c]
no longer const
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | auth2.c | 6 |
2 files changed, 7 insertions, 4 deletions
@@ -9,6 +9,9 @@ | |||
9 | - markus@cvs.openbsd.org 2001/04/18 22:03:45 | 9 | - markus@cvs.openbsd.org 2001/04/18 22:03:45 |
10 | [auth2.c sshconnect2.c] | 10 | [auth2.c sshconnect2.c] |
11 | use FDQN with trailing dot in the hostbased auth packets, ok deraadt@ | 11 | use FDQN with trailing dot in the hostbased auth packets, ok deraadt@ |
12 | - markus@cvs.openbsd.org 2001/04/18 22:48:26 | ||
13 | [auth2.c] | ||
14 | no longer const | ||
12 | 15 | ||
13 | 20010418 | 16 | 20010418 |
14 | - OpenBSD CVS Sync | 17 | - OpenBSD CVS Sync |
@@ -5171,4 +5174,4 @@ | |||
5171 | - Wrote replacements for strlcpy and mkdtemp | 5174 | - Wrote replacements for strlcpy and mkdtemp |
5172 | - Released 1.0pre1 | 5175 | - Released 1.0pre1 |
5173 | 5176 | ||
5174 | $Id: ChangeLog,v 1.1142 2001/04/19 20:35:40 mouring Exp $ | 5177 | $Id: ChangeLog,v 1.1143 2001/04/19 20:38:06 mouring Exp $ |
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: auth2.c,v 1.53 2001/04/18 22:03:44 markus Exp $"); | 26 | RCSID("$OpenBSD: auth2.c,v 1.54 2001/04/18 22:48:26 markus Exp $"); |
27 | 27 | ||
28 | #include <openssl/evp.h> | 28 | #include <openssl/evp.h> |
29 | 29 | ||
@@ -82,7 +82,7 @@ Authmethod *authmethod_lookup(const char *name); | |||
82 | char *authmethods_get(void); | 82 | char *authmethods_get(void); |
83 | int user_key_allowed(struct passwd *pw, Key *key); | 83 | int user_key_allowed(struct passwd *pw, Key *key); |
84 | int | 84 | int |
85 | hostbased_key_allowed(struct passwd *pw, const char *cuser, const char *chost, | 85 | hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, |
86 | Key *key); | 86 | Key *key); |
87 | 87 | ||
88 | /* auth */ | 88 | /* auth */ |
@@ -792,7 +792,7 @@ user_key_allowed(struct passwd *pw, Key *key) | |||
792 | 792 | ||
793 | /* return 1 if given hostkey is allowed */ | 793 | /* return 1 if given hostkey is allowed */ |
794 | int | 794 | int |
795 | hostbased_key_allowed(struct passwd *pw, const char *cuser, const char *chost, | 795 | hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, |
796 | Key *key) | 796 | Key *key) |
797 | { | 797 | { |
798 | Key *found; | 798 | Key *found; |