aboutsummaryrefslogtreecommitdiff
path: root/tests/unittests/torture_knownhosts.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/torture_knownhosts.c')
-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 3fd93abc..4d59e402 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;