From 184dad101d57677b6f6affe22783d22c1ff61cd2 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Thu, 10 Apr 2025 14:38:51 +0200 Subject: [PATCH] Move the PKCS#11 provider environment variable where it needs to be Signed-off-by: Jakub Jelen Reviewed-by: Sahana Prasad Reviewed-by: Norbert Pocs --- tests/unittests/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unittests/CMakeLists.txt b/tests/unittests/CMakeLists.txt index 544ea082..eb59768e 100644 --- a/tests/unittests/CMakeLists.txt +++ b/tests/unittests/CMakeLists.txt @@ -80,8 +80,9 @@ if (UNIX AND NOT WIN32) ${LIBSSH_UNIT_TESTS} torture_pki_ed25519_uri ) + list(APPEND TORTURE_UNIT_ENVIRONMENT + PKCS11_PROVIDER_DEBUG=file:/tmp/p11prov-debug.log) endif() - list(APPEND TORTURE_UNIT_ENVIRONMENT PKCS11_PROVIDER_DEBUG=file:/tmp/p11prov-debug.log) endif() if (HAVE_ECC)