diff options
Diffstat (limited to 'auth.h')
-rw-r--r-- | auth.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth.h,v 1.70 2012/10/30 21:29:54 djm Exp $ */ | 1 | /* $OpenBSD: auth.h,v 1.71 2012/11/04 11:09:15 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -64,6 +64,8 @@ struct Authctxt { | |||
64 | #ifdef BSD_AUTH | 64 | #ifdef BSD_AUTH |
65 | auth_session_t *as; | 65 | auth_session_t *as; |
66 | #endif | 66 | #endif |
67 | char **auth_methods; /* modified from server config */ | ||
68 | u_int num_auth_methods; | ||
67 | #ifdef KRB5 | 69 | #ifdef KRB5 |
68 | krb5_context krb5_ctx; | 70 | krb5_context krb5_ctx; |
69 | krb5_ccache krb5_fwd_ccache; | 71 | krb5_ccache krb5_fwd_ccache; |
@@ -152,6 +154,9 @@ void userauth_send_banner(const char *); | |||
152 | int auth_root_allowed(char *); | 154 | int auth_root_allowed(char *); |
153 | 155 | ||
154 | char *auth2_read_banner(void); | 156 | char *auth2_read_banner(void); |
157 | int auth2_methods_valid(const char *, int); | ||
158 | int auth2_update_methods_lists(Authctxt *, const char *); | ||
159 | int auth2_setup_methods_lists(Authctxt *); | ||
155 | 160 | ||
156 | void privsep_challenge_enable(void); | 161 | void privsep_challenge_enable(void); |
157 | 162 | ||