Fix style issues

Convert tab to spaces; fix opening brace position.

Signed-off-by: Fabio Utzig <utzig@apache.org>
This commit is contained in:
Fabio Utzig 2024-07-15 20:06:55 -03:00 committed by Andrzej Puzdrowski
parent d09112acf6
commit d5e0e89568
2 changed files with 2 additions and 3 deletions

View File

@ -1281,8 +1281,7 @@ boot_copy_region(struct boot_loader_state *state,
blk_off = (abs_off - hdr->ih_hdr_size) & 0xf;
}
if (blk_sz > 0)
{
if (blk_sz > 0) {
tlv_off = BOOT_TLV_OFF(hdr);
if (abs_off + chunk_sz > tlv_off) {
/* do not decrypt TLVs */