diff options
Diffstat (limited to 'auth.h')
-rw-r--r-- | auth.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth.h,v 1.97 2019/01/19 21:38:24 djm Exp $ */ | 1 | /* $OpenBSD: auth.h,v 1.98 2019/01/19 21:41:18 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -168,8 +168,8 @@ void remove_kbdint_device(const char *); | |||
168 | 168 | ||
169 | void do_authentication2(struct ssh *); | 169 | void do_authentication2(struct ssh *); |
170 | 170 | ||
171 | void auth_log(Authctxt *, int, int, const char *, const char *); | 171 | void auth_log(struct ssh *, int, int, const char *, const char *); |
172 | void auth_maxtries_exceeded(Authctxt *) __attribute__((noreturn)); | 172 | void auth_maxtries_exceeded(struct ssh *) __attribute__((noreturn)); |
173 | void userauth_finish(struct ssh *, int, const char *, const char *); | 173 | void userauth_finish(struct ssh *, int, const char *, const char *); |
174 | int auth_root_allowed(struct ssh *, const char *); | 174 | int auth_root_allowed(struct ssh *, const char *); |
175 | 175 | ||
@@ -186,8 +186,8 @@ void auth2_challenge_stop(struct ssh *); | |||
186 | int bsdauth_query(void *, char **, char **, u_int *, char ***, u_int **); | 186 | int bsdauth_query(void *, char **, char **, u_int *, char ***, u_int **); |
187 | int bsdauth_respond(void *, u_int, char **); | 187 | int bsdauth_respond(void *, u_int, char **); |
188 | 188 | ||
189 | int allowed_user(struct passwd *); | 189 | int allowed_user(struct ssh *, struct passwd *); |
190 | struct passwd * getpwnamallow(const char *user); | 190 | struct passwd * getpwnamallow(struct ssh *, const char *user); |
191 | 191 | ||
192 | char *expand_authorized_keys(const char *, struct passwd *pw); | 192 | char *expand_authorized_keys(const char *, struct passwd *pw); |
193 | char *authorized_principals_file(struct passwd *); | 193 | char *authorized_principals_file(struct passwd *); |
@@ -222,7 +222,7 @@ void auth_log_authopts(const char *, const struct sshauthopt *, int); | |||
222 | /* debug messages during authentication */ | 222 | /* debug messages during authentication */ |
223 | void auth_debug_add(const char *fmt,...) | 223 | void auth_debug_add(const char *fmt,...) |
224 | __attribute__((format(printf, 1, 2))); | 224 | __attribute__((format(printf, 1, 2))); |
225 | void auth_debug_send(void); | 225 | void auth_debug_send(struct ssh *); |
226 | void auth_debug_reset(void); | 226 | void auth_debug_reset(void); |
227 | 227 | ||
228 | struct passwd *fakepw(void); | 228 | struct passwd *fakepw(void); |