version 1.158, 2020/03/13 04:01:56 |
version 1.159, 2020/07/05 23:59:45 |
|
|
list = tmp; |
list = tmp; |
} else if (*list == '-') { |
} else if (*list == '-') { |
/* Remove names from default list */ |
/* Remove names from default list */ |
if ((*listp = match_filter_blacklist(def, list + 1)) == NULL) { |
if ((*listp = match_filter_denylist(def, list + 1)) == NULL) { |
r = SSH_ERR_ALLOC_FAIL; |
r = SSH_ERR_ALLOC_FAIL; |
goto fail; |
goto fail; |
} |
} |
|
|
goto fail; |
goto fail; |
} |
} |
free(matching); |
free(matching); |
if ((matching = match_filter_whitelist(all, cp)) == NULL) { |
if ((matching = match_filter_allowlist(all, cp)) == NULL) { |
r = SSH_ERR_ALLOC_FAIL; |
r = SSH_ERR_ALLOC_FAIL; |
goto fail; |
goto fail; |
} |
} |