summaryrefslogtreecommitdiff
path: root/servconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'servconf.h')
-rw-r--r--servconf.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/servconf.h b/servconf.h
index 4e3c54042..986093ffa 100644
--- a/servconf.h
+++ b/servconf.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: servconf.h,v 1.137 2018/09/20 03:28:06 djm Exp $ */ 1/* $OpenBSD: servconf.h,v 1.139 2019/01/19 21:37:48 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -75,6 +75,7 @@ typedef struct {
75 char *routing_domain; /* Bind session to routing domain */ 75 char *routing_domain; /* Bind session to routing domain */
76 76
77 char **host_key_files; /* Files containing host keys. */ 77 char **host_key_files; /* Files containing host keys. */
78 int *host_key_file_userprovided; /* Key was specified by user. */
78 u_int num_host_key_files; /* Number of files for host keys. */ 79 u_int num_host_key_files; /* Number of files for host keys. */
79 char **host_cert_files; /* Files containing host certs. */ 80 char **host_cert_files; /* Files containing host certs. */
80 u_int num_host_cert_files; /* Number of files for host certs. */ 81 u_int num_host_cert_files; /* Number of files for host certs. */
@@ -129,6 +130,7 @@ typedef struct {
129 int gss_cleanup_creds; /* If true, destroy cred cache on logout */ 130 int gss_cleanup_creds; /* If true, destroy cred cache on logout */
130 int gss_strict_acceptor; /* If true, restrict the GSSAPI acceptor name */ 131 int gss_strict_acceptor; /* If true, restrict the GSSAPI acceptor name */
131 int gss_store_rekey; 132 int gss_store_rekey;
133 char *gss_kex_algorithms; /* GSSAPI kex methods to be offered by client. */
132 int password_authentication; /* If true, permit password 134 int password_authentication; /* If true, permit password
133 * authentication. */ 135 * authentication. */
134 int kbd_interactive_authentication; /* If true, permit */ 136 int kbd_interactive_authentication; /* If true, permit */
@@ -261,7 +263,7 @@ struct connection_info {
261 M_CP_STRARRAYOPT(permitted_listens, num_permitted_listens); \ 263 M_CP_STRARRAYOPT(permitted_listens, num_permitted_listens); \
262 } while (0) 264 } while (0)
263 265
264struct connection_info *get_connection_info(int, int); 266struct connection_info *get_connection_info(struct ssh *, int, int);
265void initialize_server_options(ServerOptions *); 267void initialize_server_options(ServerOptions *);
266void fill_default_server_options(ServerOptions *); 268void fill_default_server_options(ServerOptions *);
267int process_server_config_line(ServerOptions *, char *, const char *, int, 269int process_server_config_line(ServerOptions *, char *, const char *, int,
@@ -277,7 +279,7 @@ void copy_set_server_options(ServerOptions *, ServerOptions *, int);
277void dump_config(ServerOptions *); 279void dump_config(ServerOptions *);
278char *derelativise_path(const char *); 280char *derelativise_path(const char *);
279void servconf_add_hostkey(const char *, const int, 281void servconf_add_hostkey(const char *, const int,
280 ServerOptions *, const char *path); 282 ServerOptions *, const char *path, int);
281void servconf_add_hostcert(const char *, const int, 283void servconf_add_hostcert(const char *, const int,
282 ServerOptions *, const char *path); 284 ServerOptions *, const char *path);
283 285