Skip to content

Commit 74b161e

Browse files
committed
bootutil: Fix indentation in caps query
Fix indentation to match the rest of the source tree: 4 spaces, no tabs. Signed-off-by: David Brown <[email protected]>
1 parent 5bc62c6 commit 74b161e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

boot/bootutil/src/caps.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,31 +19,31 @@
1919

2020
uint32_t bootutil_get_caps(void)
2121
{
22-
uint32_t res = 0;
22+
uint32_t res = 0;
2323

2424
#if defined(MCUBOOT_SIGN_RSA)
25-
res |= BOOTUTIL_CAP_RSA2048;
25+
res |= BOOTUTIL_CAP_RSA2048;
2626
#endif
2727
#if defined(MCUBOOT_SIGN_EC)
28-
res |= BOOTUTIL_CAP_ECDSA_P224;
28+
res |= BOOTUTIL_CAP_ECDSA_P224;
2929
#endif
3030
#if defined(MCUBOOT_SIGN_EC256)
31-
res |= BOOTUTIL_CAP_ECDSA_P256;
31+
res |= BOOTUTIL_CAP_ECDSA_P256;
3232
#endif
3333
#if defined(MCUBOOT_OVERWRITE_ONLY)
34-
res |= BOOTUTIL_CAP_OVERWRITE_UPGRADE;
34+
res |= BOOTUTIL_CAP_OVERWRITE_UPGRADE;
3535
#else
36-
res |= BOOTUTIL_CAP_SWAP_UPGRADE;
36+
res |= BOOTUTIL_CAP_SWAP_UPGRADE;
3737
#endif
3838
#if defined(MCUBOOT_ENCRYPT_RSA)
39-
res |= BOOTUTIL_CAP_ENC_RSA;
39+
res |= BOOTUTIL_CAP_ENC_RSA;
4040
#endif
4141
#if defined(MCUBOOT_ENCRYPT_KW)
42-
res |= BOOTUTIL_CAP_ENC_KW;
42+
res |= BOOTUTIL_CAP_ENC_KW;
4343
#endif
4444
#if defined(MCUBOOT_VALIDATE_PRIMARY_SLOT)
45-
res |= BOOTUTIL_CAP_VALIDATE_PRIMARY_SLOT;
45+
res |= BOOTUTIL_CAP_VALIDATE_PRIMARY_SLOT;
4646
#endif
4747

48-
return res;
48+
return res;
4949
}

0 commit comments

Comments
 (0)