summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2016-05-04 14:04:40 +0000
committerDarren Tucker <dtucker@zip.com.au>2016-05-05 00:10:03 +1000
commitc5c1d5d2f04ce00d2ddd6647e61b32f28be39804 (patch)
tree787d85238f4ccefcea23a1e81cc67072460e6c43 /auth.h
parent9faae50e2e82ba42eb0cb2726bf6830fe7948f28 (diff)
upstream commit
missing const in prototypes (ssh1) Upstream-ID: 789c6ad4928b5fa557369b88c3a6a34926082c05
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/auth.h b/auth.h
index 038b59293..55170af50 100644
--- a/auth.h
+++ b/auth.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth.h,v 1.87 2016/03/07 19:02:43 djm Exp $ */ 1/* $OpenBSD: auth.h,v 1.88 2016/05/04 14:04:40 markus Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -124,7 +124,8 @@ BIGNUM *auth_rsa_generate_challenge(Key *);
124int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]); 124int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]);
125int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **); 125int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **);
126 126
127int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *); 127int auth_rhosts_rsa_key_allowed(struct passwd *, const char *,
128 const char *, Key *);
128int hostbased_key_allowed(struct passwd *, const char *, char *, Key *); 129int hostbased_key_allowed(struct passwd *, const char *, char *, Key *);
129int user_key_allowed(struct passwd *, Key *, int); 130int user_key_allowed(struct passwd *, Key *, int);
130void pubkey_auth_info(Authctxt *, const Key *, const char *, ...) 131void pubkey_auth_info(Authctxt *, const Key *, const char *, ...)