diff --git a/interfaces/innerkits/appverify/src/verify/hap_verify_v2.cpp b/interfaces/innerkits/appverify/src/verify/hap_verify_v2.cpp index 829f35b497adbed3e25296777c28dc86b3b6cbaa..67462666583c1303c2a4f0a3c187c8a809d9be4e 100644 --- a/interfaces/innerkits/appverify/src/verify/hap_verify_v2.cpp +++ b/interfaces/innerkits/appverify/src/verify/hap_verify_v2.cpp @@ -224,7 +224,8 @@ bool HapVerifyV2::VerifyAppSourceAndParseProfile(Pkcs7Context& pkcs7Context, bool HapVerifyV2::VerifyProfileSignature(const Pkcs7Context& pkcs7Context, Pkcs7Context& profileContext) { if (pkcs7Context.matchResult.matchState == MATCH_WITH_SIGN && - pkcs7Context.matchResult.source == APP_THIRD_PARTY_PRELOAD) { + (pkcs7Context.matchResult.source == APP_THIRD_PARTY_PRELOAD || + pkcs7Context.matchResult.source == APP_SYSTEM)) { if (!HapProfileVerifyUtils::VerifyProfile(profileContext)) { HAPVERIFY_LOG_ERROR("profile verify failed"); return false;