diff options
author | djm@openbsd.org <djm@openbsd.org> | 2018-11-23 05:08:07 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-11-23 16:09:12 +1100 |
commit | 9e34e0c59ab04514f9de9934a772283f7f372afe (patch) | |
tree | 4306e1438b1efe0283b635d4d4ed1256cff0fe59 /readconf.h | |
parent | 4da58d58736b065b1182b563d10ad6765d811c6d (diff) |
upstream: add a ssh_config "Match final" predicate
Matches in same pass as "Match canonical" but doesn't require
hostname canonicalisation be enabled. bz#2906 ok markus
OpenBSD-Commit-ID: fba1dfe9f6e0cabcd0e2b3be13f7a434199beffa
Diffstat (limited to 'readconf.h')
-rw-r--r-- | readconf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/readconf.h b/readconf.h index fc7e38251..8e36bf32a 100644 --- a/readconf.h +++ b/readconf.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: readconf.h,v 1.128 2018/09/20 03:30:44 djm Exp $ */ | 1 | /* $OpenBSD: readconf.h,v 1.129 2018/11/23 05:08:07 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -185,7 +185,7 @@ typedef struct { | |||
185 | 185 | ||
186 | #define SSHCONF_CHECKPERM 1 /* check permissions on config file */ | 186 | #define SSHCONF_CHECKPERM 1 /* check permissions on config file */ |
187 | #define SSHCONF_USERCONF 2 /* user provided config file not system */ | 187 | #define SSHCONF_USERCONF 2 /* user provided config file not system */ |
188 | #define SSHCONF_POSTCANON 4 /* After hostname canonicalisation */ | 188 | #define SSHCONF_FINAL 4 /* Final pass over config, after canon. */ |
189 | #define SSHCONF_NEVERMATCH 8 /* Match/Host never matches; internal only */ | 189 | #define SSHCONF_NEVERMATCH 8 /* Match/Host never matches; internal only */ |
190 | 190 | ||
191 | #define SSH_UPDATE_HOSTKEYS_NO 0 | 191 | #define SSH_UPDATE_HOSTKEYS_NO 0 |
@@ -203,7 +203,7 @@ void fill_default_options_for_canonicalization(Options *); | |||
203 | int process_config_line(Options *, struct passwd *, const char *, | 203 | int process_config_line(Options *, struct passwd *, const char *, |
204 | const char *, char *, const char *, int, int *, int); | 204 | const char *, char *, const char *, int, int *, int); |
205 | int read_config_file(const char *, struct passwd *, const char *, | 205 | int read_config_file(const char *, struct passwd *, const char *, |
206 | const char *, Options *, int); | 206 | const char *, Options *, int, int *); |
207 | int parse_forward(struct Forward *, const char *, int, int); | 207 | int parse_forward(struct Forward *, const char *, int, int); |
208 | int parse_jump(const char *, Options *, int); | 208 | int parse_jump(const char *, Options *, int); |
209 | int parse_ssh_uri(const char *, char **, char **, int *); | 209 | int parse_ssh_uri(const char *, char **, char **, int *); |