diff --git a/tests/unittests/torture_pki_ecdsa_uri.c b/tests/unittests/torture_pki_ecdsa_uri.c index 48494278..c7b043ff 100644 --- a/tests/unittests/torture_pki_ecdsa_uri.c +++ b/tests/unittests/torture_pki_ecdsa_uri.c @@ -561,7 +561,7 @@ int torture_run_tests(void) { cmocka_unit_test(torture_pki_ecdsa_import_pubkey_without_loading_public_uri_521), }; ssh_session session = ssh_new(); - int verbosity = SSH_LOG_FUNCTIONS; + int verbosity = torture_libssh_verbosity(); /* Do not use system openssl.cnf for the pkcs11 uri tests. * It can load a pkcs11 provider too early before we will set up environment diff --git a/tests/unittests/torture_pki_rsa_uri.c b/tests/unittests/torture_pki_rsa_uri.c index 5c2429f7..4e47c4f0 100644 --- a/tests/unittests/torture_pki_rsa_uri.c +++ b/tests/unittests/torture_pki_rsa_uri.c @@ -283,7 +283,7 @@ torture_run_tests(void) }; ssh_session session = ssh_new(); - int verbosity = SSH_LOG_FUNCTIONS; + int verbosity = torture_libssh_verbosity(); /* Do not use system openssl.cnf for the pkcs11 uri tests. * It can load a pkcs11 provider too early before we will set up environment