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 /ssh-keysign.c | |
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 'ssh-keysign.c')
-rw-r--r-- | ssh-keysign.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ssh-keysign.c b/ssh-keysign.c index 8f487b8c5..7ea5ad0e9 100644 --- a/ssh-keysign.c +++ b/ssh-keysign.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-keysign.c,v 1.55 2018/07/27 05:34:42 dtucker Exp $ */ | 1 | /* $OpenBSD: ssh-keysign.c,v 1.56 2018/11/23 05:08:07 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2002 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2002 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -208,7 +208,8 @@ main(int argc, char **argv) | |||
208 | 208 | ||
209 | /* verify that ssh-keysign is enabled by the admin */ | 209 | /* verify that ssh-keysign is enabled by the admin */ |
210 | initialize_options(&options); | 210 | initialize_options(&options); |
211 | (void)read_config_file(_PATH_HOST_CONFIG_FILE, pw, "", "", &options, 0); | 211 | (void)read_config_file(_PATH_HOST_CONFIG_FILE, pw, "", "", |
212 | &options, 0, NULL); | ||
212 | fill_default_options(&options); | 213 | fill_default_options(&options); |
213 | if (options.enable_ssh_keysign != 1) | 214 | if (options.enable_ssh_keysign != 1) |
214 | fatal("ssh-keysign not enabled in %s", | 215 | fatal("ssh-keysign not enabled in %s", |