From 6c8081d665a01919d7609c2ad8a6728e374be74f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=AC=A3=E5=AE=87?= Date: Wed, 15 May 2024 11:04:49 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9domainID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张欣宇 Change-Id: Ic928c492249ffbb097acc6ad504cbdb20abf4e38 --- interfaces/innerkits/appverify/include/common/hap_verify_log.h | 2 +- interfaces/innerkits/appverify/src/init/trusted_root_ca.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/interfaces/innerkits/appverify/include/common/hap_verify_log.h b/interfaces/innerkits/appverify/include/common/hap_verify_log.h index 0ce4710..eaf4a23 100644 --- a/interfaces/innerkits/appverify/include/common/hap_verify_log.h +++ b/interfaces/innerkits/appverify/include/common/hap_verify_log.h @@ -21,7 +21,7 @@ namespace OHOS { namespace Security { namespace Verify { -static constexpr uint32_t APPVERIFY_DOMAIN = 0xD001120; +static constexpr uint32_t APPVERIFY_DOMAIN = 0xD0011FE; static constexpr OHOS::HiviewDFX::HiLogLabel LABEL = {LOG_CORE, APPVERIFY_DOMAIN, "HapVerify"}; #define HAPVERIFY_LOG_DEBUG(label, fmt, ...) \ diff --git a/interfaces/innerkits/appverify/src/init/trusted_root_ca.cpp b/interfaces/innerkits/appverify/src/init/trusted_root_ca.cpp index b928ae4..a5c08be 100644 --- a/interfaces/innerkits/appverify/src/init/trusted_root_ca.cpp +++ b/interfaces/innerkits/appverify/src/init/trusted_root_ca.cpp @@ -110,7 +110,6 @@ bool TrustedRootCa::GetTrustedRootCAFromJson(StringCertMap& rootCertMap, const s JsonMap trustedRootCAJsonMap; JsonParserUtils::ParseJsonToMap(trustedRootCAJson, trustedRootCAJsonMap); for (auto jsonPair : trustedRootCAJsonMap) { - HAPVERIFY_LOG_INFO(LABEL, "parse cert: %{public}s", jsonPair.second.c_str()); X509* cert = HapCertVerifyOpensslUtils::GetX509CertFromPemString(jsonPair.second); if (cert == nullptr) { HAPVERIFY_LOG_ERROR(LABEL, "GetX509CertFromPemString failed, key: %{public}s value: %{public}s", -- Gitee