Skip to content

Commit

Permalink
boot: Add rollback counter to unprotected list
Browse files Browse the repository at this point in the history
This really should be protected, but as it is not currently, allow it in the
TLVs that are allowed to be unprotected.

Signed-off-by: David Brown <david.brown@linaro.org>
  • Loading branch information
d3zd3z committed Apr 10, 2024
1 parent f1995ec commit 6945cb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions boot/bootutil/src/image_validate.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ static const uint16_t allowed_unprot_tlvs[] = {
IMAGE_TLV_ENC_KW,
IMAGE_TLV_ENC_EC256,
IMAGE_TLV_ENC_X25519,
IMAGE_TLV_SEC_CNT,
/* Mark end with ANY. */
IMAGE_TLV_ANY,
};
Expand Down

0 comments on commit 6945cb4

Please sign in to comment.