Revert "image-fit: Fix signature checking"
authorSimon Glass <sjg@chromium.org>
Wed, 24 Feb 2016 16:14:43 +0000 (09:14 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Feb 2016 15:53:10 +0000 (08:53 -0700)
commit2e33e761656f30651ed9ae16ecdbd5117d51d7d2
treeb188acd238807c91d709fed57efb36dca62734fd
parent7a80de464167ec45fdb70f63d83d07f7c2c57b82
Revert "image-fit: Fix signature checking"

This reverts commit 84ca65aa4bd0d03867e9e49805201d0564d3ffb0.

On signature verification failures fit_image_verify() should NOT exit with
error. Only keys marked 'required' can cause image verification failure.
This logic is already there and works correctly.

Add a comment to make this clear.

Fixes: 84ca65aa (image-fit: Fix signature checking)
Signed-off-by: Simon Glass <sjg@chromium.org>
common/image-fit.c