mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-12 03:00:26 +09:00
config: Be less strict when parsing unknown Match keywords
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit f7bdd779d6)
This commit is contained in:
@@ -1032,7 +1032,7 @@ static void torture_options_config_match(void **state)
|
||||
fclose(config);
|
||||
|
||||
rv = ssh_options_parse_config(session, "test_config");
|
||||
assert_ssh_return_code_equal(session, rv, SSH_ERROR);
|
||||
assert_ssh_return_code_equal(session, rv, SSH_OK);
|
||||
|
||||
/* The Match all keyword needs to be the only one (start) */
|
||||
torture_reset_config(session);
|
||||
|
||||
Reference in New Issue
Block a user