summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/auth.h
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2016-05-04 14:04:41 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2016-05-04 14:04:41 +0000
commit250512c09490dc1662578fcb4531bbc8142d19a5 (patch)
treede0f8ddf42784704a175faa97c8897092b1c5e89 /usr.bin/ssh/auth.h
parent0a701e785216a9c050e18444d98fe33bb53e3196 (diff)
missing const in prototypes (ssh1)
Diffstat (limited to 'usr.bin/ssh/auth.h')
-rw-r--r--usr.bin/ssh/auth.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth.h b/usr.bin/ssh/auth.h
index e20c6532c4e..c7f6482c6d5 100644
--- a/usr.bin/ssh/auth.h
+++ b/usr.bin/ssh/auth.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.h,v 1.87 2016/03/07 19:02:43 djm Exp $ */
+/* $OpenBSD: auth.h,v 1.88 2016/05/04 14:04:40 markus Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -115,7 +115,8 @@ BIGNUM *auth_rsa_generate_challenge(Key *);
int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]);
int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **);
-int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *);
+int auth_rhosts_rsa_key_allowed(struct passwd *, const char *,
+ const char *, Key *);
int hostbased_key_allowed(struct passwd *, const char *, char *, Key *);
int user_key_allowed(struct passwd *, Key *, int);
void pubkey_auth_info(Authctxt *, const Key *, const char *, ...)