diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2012-02-07 09:54:54 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-02-07 09:54:54 +0100 |
commit | 8fea5c7a288f36d4b3421fa852742602bbd961fc (patch) | |
tree | 7d1c7cfa6d5ff29dca700ce9e7cee92b3e6a820c /tests/client | |
parent | 19090c5cd813fdc3b9fc74b1e80bc877ac8e3cfb (diff) | |
download | libssh-8fea5c7a288f36d4b3421fa852742602bbd961fc.tar.gz libssh-8fea5c7a288f36d4b3421fa852742602bbd961fc.tar.xz libssh-8fea5c7a288f36d4b3421fa852742602bbd961fc.zip |
tests: Fix known_hosts test.
Diffstat (limited to 'tests/client')
-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); } |