Backport 26169 ([rom_ext] fix CDI_* cert update bug ) #28891
+233
−9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport #26169. One commit is not needed because it was backported in #27714. Nevertheless this backport is bit cursed because on master, the dice chain was moved to its file
dice_chain.cbefore this change, whereas on earlgrey_1.0.0 it was moved after. Even after that, the diff still has a conflict because the debug message on earlgrey_1.0.0 iswarning: CDI_1 certificate not valid. updating\r\nwhile it isCDI_1 certificate not valid. updating\r\non master. Scrolling through the history, I found that #27286 manually cherry-picked #25279 but did not cherry-picked the inclusion of thewarning:prefix for some reason. Since this prefix is used by the harness and since all other strings that with eitherwarning:orerror:, it makes sense to change the format to include this prefix as well which is what I did.