summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
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 be07be914..5db8f8d5d 100644
--- a/auth2.c
+++ b/auth2.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: auth2.c,v 1.53 2001/04/18 22:03:44 markus Exp $"); 26RCSID("$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);
82char *authmethods_get(void); 82char *authmethods_get(void);
83int user_key_allowed(struct passwd *pw, Key *key); 83int user_key_allowed(struct passwd *pw, Key *key);
84int 84int
85hostbased_key_allowed(struct passwd *pw, const char *cuser, const char *chost, 85hostbased_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 */
794int 794int
795hostbased_key_allowed(struct passwd *pw, const char *cuser, const char *chost, 795hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost,
796 Key *key) 796 Key *key)
797{ 797{
798 Key *found; 798 Key *found;