summaryrefslogtreecommitdiff
path: root/readconf.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-07-05 23:59:45 +0000
committerDarren Tucker <dtucker@dtucker.net>2020-07-15 15:07:42 +1000
commit6d755706a0059eb9e2d63517f288b75cbc3b4701 (patch)
treeadb003b1adcea270f4480baa4ff83d495b3478f3 /readconf.c
parentb0c1e8384d5e136ebdf895d1434aea7dd8661a1c (diff)
upstream: some language improvements; ok markus
OpenBSD-Commit-ID: 939d787d571b4d5da50b3b721fd0b2ac236acaa8
Diffstat (limited to 'readconf.c')
-rw-r--r--readconf.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/readconf.c b/readconf.c
index c0595a52b..9e597748c 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: readconf.c,v 1.331 2020/05/29 04:25:40 dtucker Exp $ */ 1/* $OpenBSD: readconf.c,v 1.332 2020/07/05 23:59:45 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -2221,11 +2221,11 @@ fill_default_options(Options * options)
2221 all_key = sshkey_alg_list(0, 0, 1, ','); 2221 all_key = sshkey_alg_list(0, 0, 1, ',');
2222 all_sig = sshkey_alg_list(0, 1, 1, ','); 2222 all_sig = sshkey_alg_list(0, 1, 1, ',');
2223 /* remove unsupported algos from default lists */ 2223 /* remove unsupported algos from default lists */
2224 def_cipher = match_filter_whitelist(KEX_CLIENT_ENCRYPT, all_cipher); 2224 def_cipher = match_filter_allowlist(KEX_CLIENT_ENCRYPT, all_cipher);
2225 def_mac = match_filter_whitelist(KEX_CLIENT_MAC, all_mac); 2225 def_mac = match_filter_allowlist(KEX_CLIENT_MAC, all_mac);
2226 def_kex = match_filter_whitelist(KEX_CLIENT_KEX, all_kex); 2226 def_kex = match_filter_allowlist(KEX_CLIENT_KEX, all_kex);
2227 def_key = match_filter_whitelist(KEX_DEFAULT_PK_ALG, all_key); 2227 def_key = match_filter_allowlist(KEX_DEFAULT_PK_ALG, all_key);
2228 def_sig = match_filter_whitelist(SSH_ALLOWED_CA_SIGALGS, all_sig); 2228 def_sig = match_filter_allowlist(SSH_ALLOWED_CA_SIGALGS, all_sig);
2229#define ASSEMBLE(what, defaults, all) \ 2229#define ASSEMBLE(what, defaults, all) \
2230 do { \ 2230 do { \
2231 if ((r = kex_assemble_names(&options->what, \ 2231 if ((r = kex_assemble_names(&options->what, \