diff --git a/interfaces/innerkits/appverify/src/verify/hap_verify_v2.cpp b/interfaces/innerkits/appverify/src/verify/hap_verify_v2.cpp index 32c213a2b7fe8745c6e14b4b6ee98e0f0e72b16a..6379eb2ca82cfdd0da52f5d4086a42a13d84f9c3 100644 --- a/interfaces/innerkits/appverify/src/verify/hap_verify_v2.cpp +++ b/interfaces/innerkits/appverify/src/verify/hap_verify_v2.cpp @@ -210,8 +210,7 @@ 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 == OTHER_TRUSTED_SOURCE)) { + pkcs7Context.matchResult.source == APP_THIRD_PARTY_PRELOAD) { if (!HapProfileVerifyUtils::VerifyProfile(profileContext)) { HAPVERIFY_LOG_ERROR(LABEL, "profile verify failed"); return false;