From dea71333799eb8e1b43f7833927bc7eeed8a7eb1 Mon Sep 17 00:00:00 2001 From: yangyangyang Date: Tue, 19 Dec 2023 04:07:52 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E8=83=BDso=E7=9A=84=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E7=AD=BE=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yangyangyang --- interfaces/innerkits/code_sign_utils/src/code_sign_utils.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/interfaces/innerkits/code_sign_utils/src/code_sign_utils.cpp b/interfaces/innerkits/code_sign_utils/src/code_sign_utils.cpp index eddb7e7..6908ebd 100644 --- a/interfaces/innerkits/code_sign_utils/src/code_sign_utils.cpp +++ b/interfaces/innerkits/code_sign_utils/src/code_sign_utils.cpp @@ -233,9 +233,6 @@ int32_t CodeSignUtils::EnforceCodeSignForAppWithOwnerId(const std::string &owner const EntryMap &entryPathMap, FileType type) { if (type == FILE_ENTRY_ADD || type == FILE_ENTRY_ONLY || type == FILE_ALL) { - if (type == FILE_ENTRY_ONLY && !isSupportOHCodeSign()) { - return CS_SUCCESS; - } storedEntryMap_.insert(entryPathMap.begin(), entryPathMap.end()); if (type == FILE_ENTRY_ADD) { return CS_SUCCESS; -- Gitee