1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-29 13:01:13 +03:00

tests/client/algorithms: Respect global verbosity settings

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2017-11-22 13:43:56 +01:00
committed by Andreas Schneider
parent afc6a4e973
commit 176b92a4f4

View File

@ -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);