Commit e8c1ff9
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 ef41cc1 commit e8c1ff9
1 file changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1682 | 1682 | | |
1683 | 1683 | | |
1684 | 1684 | | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
1685 | 1690 | | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
1686 | 1700 | | |
1687 | 1701 | | |
1688 | 1702 | | |
1689 | 1703 | | |
1690 | 1704 | | |
1691 | 1705 | | |
1692 | 1706 | | |
| 1707 | + | |
1693 | 1708 | | |
1694 | 1709 | | |
1695 | | - | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
1696 | 1714 | | |
1697 | 1715 | | |
1698 | 1716 | | |
| |||
0 commit comments