From f14568262adefc3015737ab84b7bdca15a4dfba3 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Thu, 23 Jan 2025 10:35:47 +0100 Subject: [PATCH] tests: Update PKCS#11 tests to follow global verbosity Signed-off-by: Jakub Jelen Reviewed-by: Sahana Prasad --- tests/unittests/torture_pki_ecdsa_uri.c | 2 +- tests/unittests/torture_pki_rsa_uri.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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