Commit 6d469e0
committed
rimage: propagate verification result to the exit code
Verify mode logged signature failures and a missing header but returned success,
so callers using the exit code as a gate would accept a tampered image. Return
an error when no header is found and propagate the verification result.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>1 parent 3a4c1cf commit 6d469e0
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1688 | 1688 | | |
1689 | 1689 | | |
1690 | 1690 | | |
| 1691 | + | |
1691 | 1692 | | |
1692 | 1693 | | |
1693 | | - | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
1694 | 1698 | | |
1695 | 1699 | | |
1696 | 1700 | | |
| |||
0 commit comments