diff --git a/interfaces/innerkits/appverify/src/verify/hap_verify_v2.cpp b/interfaces/innerkits/appverify/src/verify/hap_verify_v2.cpp index 89a2a4ec08f1bcf36b33628118102d1c272d5a78..3d88fddb16fc724db08b3a199519c69286975b9b 100644 --- a/interfaces/innerkits/appverify/src/verify/hap_verify_v2.cpp +++ b/interfaces/innerkits/appverify/src/verify/hap_verify_v2.cpp @@ -232,7 +232,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;