diff options
Diffstat (limited to 'servconf.h')
-rw-r--r-- | servconf.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/servconf.h b/servconf.h index 3f04b8501..953ef8650 100644 --- a/servconf.h +++ b/servconf.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: servconf.h,v 1.96 2011/05/11 04:47:06 djm Exp $ */ | 1 | /* $OpenBSD: servconf.h,v 1.97 2011/05/20 03:25:45 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -161,6 +161,20 @@ typedef struct { | |||
161 | char *authorized_principals_file; | 161 | char *authorized_principals_file; |
162 | } ServerOptions; | 162 | } ServerOptions; |
163 | 163 | ||
164 | /* | ||
165 | * These are string config options that must be copied between the | ||
166 | * Match sub-config and the main config, and must be sent from the | ||
167 | * privsep slave to the privsep master. We use a macro to ensure all | ||
168 | * the options are copied and the copies are done in the correct order. | ||
169 | */ | ||
170 | #define COPY_MATCH_STRING_OPTS() do { \ | ||
171 | M_CP_STROPT(banner); \ | ||
172 | M_CP_STROPT(trusted_user_ca_keys); \ | ||
173 | M_CP_STROPT(revoked_keys_file); \ | ||
174 | M_CP_STROPT(authorized_keys_file); \ | ||
175 | M_CP_STROPT(authorized_principals_file); \ | ||
176 | } while (0) | ||
177 | |||
164 | void initialize_server_options(ServerOptions *); | 178 | void initialize_server_options(ServerOptions *); |
165 | void fill_default_server_options(ServerOptions *); | 179 | void fill_default_server_options(ServerOptions *); |
166 | int process_server_config_line(ServerOptions *, char *, const char *, int, | 180 | int process_server_config_line(ServerOptions *, char *, const char *, int, |