aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2017-11-22 13:43:56 +0100
committerAndreas Schneider <asn@cryptomilk.org>2017-12-21 11:43:19 +0100
commit176b92a4f4a3260360c55086f7f95e760f354a8a (patch)
treef5e0a3a562f17f210ca47a5d74731210859d4f18
parentafc6a4e973482bddb29926c8af2ad692a1a872ff (diff)
downloadlibssh-176b92a4f4a3260360c55086f7f95e760f354a8a.tar.gz
libssh-176b92a4f4a3260360c55086f7f95e760f354a8a.tar.xz
libssh-176b92a4f4a3260360c55086f7f95e760f354a8a.zip
tests/client/algorithms: Respect global verbosity settings
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--tests/client/torture_algorithms.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/client/torture_algorithms.c b/tests/client/torture_algorithms.c
index d928cfc0..ce7d36ad 100644
--- a/tests/client/torture_algorithms.c
+++ b/tests/client/torture_algorithms.c
@@ -85,6 +85,9 @@ static void test_algorithm(ssh_session session,
const char *hmac) {
int rc;
+ int verbosity = torture_libssh_verbosity();
+ ssh_options_set(session, SSH_OPTIONS_LOG_VERBOSITY, &verbosity);
+
if (kex != NULL) {
rc = ssh_options_set(session, SSH_OPTIONS_KEY_EXCHANGE, kex);
assert_int_equal(rc, SSH_OK);