diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/client/torture_knownhosts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/client/torture_knownhosts.c b/tests/client/torture_knownhosts.c index 7c716b8d..fe827cbc 100644 --- a/tests/client/torture_knownhosts.c +++ b/tests/client/torture_knownhosts.c @@ -64,7 +64,7 @@ static void torture_knownhosts_port(void **state) { rc = ssh_connect(session); assert_true(rc==SSH_OK); - session->port = 1234; + session->opts.port = 1234; rc = ssh_write_knownhost(session); assert_true(rc == SSH_OK); @@ -88,7 +88,7 @@ static void torture_knownhosts_port(void **state) { rc = ssh_connect(session); assert_true(rc == SSH_OK); - session->port = 1234; + session->opts.port = 1234; rc = ssh_is_server_known(session); assert_true(rc == SSH_SERVER_KNOWN_OK); } |