Skip to content

Commit

Permalink
Revert "TEMPORARY HACK: Disable verifying VERSION"
Browse files Browse the repository at this point in the history
This reverts commit f835684.

Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
  • Loading branch information
stewartsmith committed Oct 25, 2018
1 parent 9b9be42 commit 4b8cc05
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions core/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -848,12 +848,7 @@ static int flash_load_resource(enum resource_id id, uint32_t subid,
* Verify and measure the retrieved PNOR partition as part of the
* secure boot and trusted boot requirements
*/
/*
* FIXME: TEMPORARY HACK: Don't verify VERSION until all bits of code
* to produce a signed VERSION partition are upstream for a while.
*/
if (id != RESOURCE_ID_VERSION)
secureboot_verify(id, buf, *len);
secureboot_verify(id, buf, *len);
trustedboot_measure(id, buf, *len);

/* Find subpartition */
Expand Down

0 comments on commit 4b8cc05

Please sign in to comment.