From feee3105cb20987489ceb237f163dcfce545ba6e Mon Sep 17 00:00:00 2001 From: "dujingcheng@huawei.com" Date: Tue, 23 Aug 2022 20:21:54 +0800 Subject: [PATCH] test Signed-off-by: dujingcheng@huawei.com Change-Id: I75e26c4db3aa8dd5a442ea5f8fa3aaf7c858cb23 --- .../innerkits/appverify/src/provision/provision_verify.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interfaces/innerkits/appverify/src/provision/provision_verify.cpp b/interfaces/innerkits/appverify/src/provision/provision_verify.cpp index 36a3322..b7cd81f 100644 --- a/interfaces/innerkits/appverify/src/provision/provision_verify.cpp +++ b/interfaces/innerkits/appverify/src/provision/provision_verify.cpp @@ -130,6 +130,7 @@ void ParseBundleInfo(const json& obj, ProvisionInfo& out) { if (IsObjectExist(obj, KEY_BUNDLE_INFO)) { auto& bundleInfo = obj[KEY_BUNDLE_INFO]; + HAPVERIFY_LOG_ERROR(LABEL, "abcdefghijklmn--bundleInfo----- json: %{public}s", bundleInfo.dump().c_str()); GetStringIfExist(bundleInfo, KEY_DEVELOPER_ID, out.bundleInfo.developerId); GetStringIfExist(bundleInfo, KEY_DEVELOPMENT_CERTIFICATE, out.bundleInfo.developmentCertificate); GetStringIfExist(bundleInfo, KEY_DISTRIBUTION_CERTIFICATE, out.bundleInfo.distributionCertificate); @@ -196,6 +197,7 @@ void from_json(const json& obj, ProvisionInfo& out) AppProvisionVerifyResult ParseProvision(const string& appProvision, ProvisionInfo& info) { + HAPVERIFY_LOG_ERROR(LABEL, "abcdefghijklmn------- json: %{public}s", appProvision.c_str()); json obj = json::parse(appProvision, nullptr, false); if (!obj.is_structured()) { HAPVERIFY_LOG_ERROR(LABEL, "Parsing appProvision failed. json: %{public}s", appProvision.c_str()); -- Gitee