From 5fc4d5b22af371bd4798a260babceb65d9430342 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Tue, 30 Oct 2018 12:51:31 +0100 Subject: [PATCH] tests: Typo -- the flags should be checked according to the comment Signed-off-by: Jakub Jelen Reviewed-by: Andreas Schneider --- tests/unittests/torture_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unittests/torture_config.c b/tests/unittests/torture_config.c index 8fe4a2c4..283b8de5 100644 --- a/tests/unittests/torture_config.c +++ b/tests/unittests/torture_config.c @@ -284,7 +284,7 @@ static void torture_config_auth_methods(void **state) { assert_false(session->opts.flags & SSH_OPT_FLAG_PUBKEY_AUTH); /* no method should be left enabled */ - assert_int_equal(session->opts.port, 0); + assert_int_equal(session->opts.flags, 0); /* gradually enable them again */ ssh_options_set(session, SSH_OPTIONS_HOST, "gss");