aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-09-01 16:05:06 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-09-01 16:05:06 +0200
commite67d834156a381fe7ef7933d135130083b86d1e3 (patch)
treee8f3485bc07f19cc2f2bef6ad0ef11af0606984d /tests
parenta93f2d8bfe98e2927fc7024973c52062ccd28b30 (diff)
downloadlibssh-e67d834156a381fe7ef7933d135130083b86d1e3.tar.gz
libssh-e67d834156a381fe7ef7933d135130083b86d1e3.tar.xz
libssh-e67d834156a381fe7ef7933d135130083b86d1e3.zip
Fix initialization of threading
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/torture_knownhosts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unittests/torture_knownhosts.c b/tests/unittests/torture_knownhosts.c
index 3fd93ab..4d59e40 100644
--- a/tests/unittests/torture_knownhosts.c
+++ b/tests/unittests/torture_knownhosts.c
@@ -44,6 +44,7 @@ START_TEST (torture_knownhosts_port)
int rc;
char buffer[200];
FILE *file;
+ //int verbosity=SSH_LOG_FUNCTIONS;
/* Connect to localhost:22, force the port to 1234 and then write
* the known hosts file. Then check that the entry written is
* [localhost]:1234
@@ -68,6 +69,7 @@ START_TEST (torture_knownhosts_port)
session=ssh_new();
ssh_options_set(session,SSH_OPTIONS_HOST,"localhost");
ssh_options_set(session,SSH_OPTIONS_KNOWNHOSTS,KNOWNHOSTFILES);
+ //ssh_options_set(session,SSH_OPTIONS_LOG_VERBOSITY, &verbosity);
rc=ssh_connect(session);
ck_assert_msg(rc==SSH_OK,ssh_get_error(session));
session->port=1234;