diff options
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |