Skip to content

Commit 05d0db4

Browse files
committed
apply format
1 parent f5181a1 commit 05d0db4

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

src/policy_provider/SamplePolicyProvider.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,10 @@ int BSLP_QueryPolicy(const void *user_data, BSL_SecurityActionSet_t *output_acti
140140
for (i = 0; i < BSLP_SecOperPtrList_size(secops); i++)
141141
{
142142
BSL_SecOper_t **comp = BSLP_SecOperPtrList_get(secops, i);
143-
BSL_LOG_INFO("NEW SECOP (tgt=%d)(bib?=%d)(secblk=%d)", BSL_SecOper_GetTargetBlockNum(sec_oper), BSL_SecOper_IsBIB(sec_oper), BSL_SecOper_GetSecurityBlockNum(sec_oper));
144-
BSL_LOG_INFO("comp SECOP (tgt=%d)(bib?=%d)(secblk=%d)", BSL_SecOper_GetTargetBlockNum(*comp), BSL_SecOper_IsBIB(*comp), BSL_SecOper_GetSecurityBlockNum(*comp));
143+
BSL_LOG_INFO("NEW SECOP (tgt=%d)(bib?=%d)(secblk=%d)", BSL_SecOper_GetTargetBlockNum(sec_oper),
144+
BSL_SecOper_IsBIB(sec_oper), BSL_SecOper_GetSecurityBlockNum(sec_oper));
145+
BSL_LOG_INFO("comp SECOP (tgt=%d)(bib?=%d)(secblk=%d)", BSL_SecOper_GetTargetBlockNum(*comp),
146+
BSL_SecOper_IsBIB(*comp), BSL_SecOper_GetSecurityBlockNum(*comp));
145147
if (BSL_SecOper_GetTargetBlockNum(*comp) == BSL_SecOper_GetTargetBlockNum(sec_oper))
146148
{
147149
// Both BIBs or BCBs
@@ -202,7 +204,7 @@ int BSLP_QueryPolicy(const void *user_data, BSL_SecurityActionSet_t *output_acti
202204
BSL_LOG_INFO("Created sec operation for rule `%s`", rule->description);
203205
}
204206

205-
for (size_t i = 0 ; i < BSLP_SecOperPtrList_size(secops); i ++)
207+
for (size_t i = 0; i < BSLP_SecOperPtrList_size(secops); i++)
206208
{
207209
BSL_SecOper_t **secop = BSLP_SecOperPtrList_get(secops, i);
208210
BSL_SecurityAction_AppendSecOper(action, *secop);

src/policy_provider/SamplePolicyProvider.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#include <BPSecLib_Private.h>
3434

3535
// NOLINTBEGIN
36-
M_ARRAY_DEF(BSLP_SecOperPtrList, BSL_SecOper_t*, M_PTR_OPLIST)
36+
M_ARRAY_DEF(BSLP_SecOperPtrList, BSL_SecOper_t *, M_PTR_OPLIST)
3737
// NOLINTEND
3838

3939
/**

0 commit comments

Comments
 (0)