From 773456667f624f68f0226c03adf5ddd41897dc85 Mon Sep 17 00:00:00 2001 From: Krzysztof Jackiewicz Date: Fri, 11 Aug 2023 13:29:45 +0200 Subject: [PATCH] Adjust scheme tests to TZ TZ does not support saving asymmetric keys with password. Change-Id: Ia6ec92b610908a52079d2f22f32a9387237faee7 --- misc/encryption_scheme/scheme-test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/encryption_scheme/scheme-test.cpp b/misc/encryption_scheme/scheme-test.cpp index 89f8a7b..c5b6609 100644 --- a/misc/encryption_scheme/scheme-test.cpp +++ b/misc/encryption_scheme/scheme-test.cpp @@ -194,11 +194,13 @@ Group GROUPS[] = { Item("pkcs-alias2", DataType::CHAIN_CERT_0, policy[NO_PASS][EXP]), } }, +#ifndef TZ_BACKEND_ENABLED // TZ does not support importing asymmetric keys with password { Group::SINGLE_ITEM, { Item("pkcs-alias3", DataType::CHAIN_CERT_0, policy[PASS][NO_EXP]), } }, +#endif { Group::SINGLE_ITEM, { Item("pkcs-alias4", DataType::CHAIN_CERT_0, policy[PASS][EXP]), -- 2.7.4