diff options
Diffstat (limited to 'kex.c')
-rw-r--r-- | kex.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kex.c,v 1.158 2020/03/13 04:01:56 djm Exp $ */ | 1 | /* $OpenBSD: kex.c,v 1.159 2020/07/05 23:59:45 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -281,7 +281,7 @@ kex_assemble_names(char **listp, const char *def, const char *all) | |||
281 | list = tmp; | 281 | list = tmp; |
282 | } else if (*list == '-') { | 282 | } else if (*list == '-') { |
283 | /* Remove names from default list */ | 283 | /* Remove names from default list */ |
284 | if ((*listp = match_filter_blacklist(def, list + 1)) == NULL) { | 284 | if ((*listp = match_filter_denylist(def, list + 1)) == NULL) { |
285 | r = SSH_ERR_ALLOC_FAIL; | 285 | r = SSH_ERR_ALLOC_FAIL; |
286 | goto fail; | 286 | goto fail; |
287 | } | 287 | } |
@@ -318,7 +318,7 @@ kex_assemble_names(char **listp, const char *def, const char *all) | |||
318 | goto fail; | 318 | goto fail; |
319 | } | 319 | } |
320 | free(matching); | 320 | free(matching); |
321 | if ((matching = match_filter_whitelist(all, cp)) == NULL) { | 321 | if ((matching = match_filter_allowlist(all, cp)) == NULL) { |
322 | r = SSH_ERR_ALLOC_FAIL; | 322 | r = SSH_ERR_ALLOC_FAIL; |
323 | goto fail; | 323 | goto fail; |
324 | } | 324 | } |