From: Krzysztof Jackiewicz Date: Fri, 11 Aug 2023 11:29:45 +0000 (+0200) Subject: Adjust scheme tests to TZ X-Git-Tag: accepted/tizen/6.0/unified/20230914.095717~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F90%2F298690%2F1;p=platform%2Fcore%2Fsecurity%2Fkey-manager.git Adjust scheme tests to TZ TZ does not support saving asymmetric keys with password. Change-Id: Ia6ec92b610908a52079d2f22f32a9387237faee7 --- 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]),