platform: msm_shared: Fix verify image signature image legnth failure
image_len failure verify_image_with_sig led to normal boot up by skipping
the VB failure flow. Fixed by passing event which should boot up in RED state.
Change-Id: I42b8bf80fbc37997e67b6c83bc806954526a551b
diff --git a/platform/msm_shared/boot_verifier.c b/platform/msm_shared/boot_verifier.c
index 7d22eb9..90cbfeb 100644
--- a/platform/msm_shared/boot_verifier.c
+++ b/platform/msm_shared/boot_verifier.c
@@ -341,6 +341,7 @@
}
verify_image_with_sig_error:
+ boot_verify_send_event(BOOTIMG_VERIFICATION_FAIL);
verify_image_with_sig_done:
return ret;
}