From: Tom Rini Date: Thu, 8 Jun 2017 21:06:35 -0400 Subject: [U-Boot] [PATCH] common, image-sig: [BUG?] if no valid signature node found, do not boot signed FIT image In-Reply-To: <1496915565-29790-1-git-send-email-hs@denx.de> References: <1496915565-29790-1-git-send-email-hs@denx.de> Message-ID: <20170609010635.GW10782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jun 08, 2017 at 11:52:45AM +0200, Heiko Schocher wrote: > fit_image_verify_required_sigs() must return != 0, on error. > > When fit_image_verify_required_sigs() does not find a signature > node, it returns 0, which leads in booting a signed FIT image. > > Fix this! > > Signed-off-by: Heiko Schocher Good catch. Did you confirm that the sandbox tests still work? And can you construct a new test for this case? Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: