bootutil: loader: Verify image header before checking image
Changes the order of operations to validate the image header
before checking the image, it does not make sense to check the
image if the header itself is invalid
Signed-off-by:
Jamie McCrae <jamie.mccrae@nordicsemi.no>
Loading
Please sign in to comment