Skip to content

Commit

Permalink
Restyle
Browse files Browse the repository at this point in the history
  • Loading branch information
mlepage-google committed Apr 12, 2023
1 parent 025dd23 commit e719521
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions src/credentials/FabricTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -723,10 +723,7 @@ class DLL_EXPORT FabricTable
*
* @return The operational keystore, nullptr otherwise.
*/
Crypto::OperationalKeystore * GetOperationalKeystore()
{
return mOperationalKeystore;
}
Crypto::OperationalKeystore * GetOperationalKeystore() { return mOperationalKeystore; }

/**
* @brief Add a pending trusted root certificate for the next fabric created with `AddNewPendingFabric*` methods.
Expand Down
6 changes: 3 additions & 3 deletions src/protocols/secure_channel/CASESession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ class CASESession::WorkHelper
return CHIP_ERROR_INCORRECT_STATE;
}
WorkHelper * helper = this;
bool cancel = false;
helper->mStatus = helper->mWorkCallback(helper->mData, cancel);
bool cancel = false;
helper->mStatus = helper->mWorkCallback(helper->mData, cancel);
if (!cancel)
{
helper->mStatus = (helper->mSession->*(helper->mAfterWorkCallback))(helper->mData, helper->mStatus);
Expand Down Expand Up @@ -1376,7 +1376,7 @@ CHIP_ERROR CASESession::SendSigma3b(SendSigma3Data & data, bool & cancel)
{
// Legacy case: delegate to fabric table fabric info
err = data.fabricTable->SignWithOpKeypair(data.fabricIndex, ByteSpan{ data.msg_R3_Signed.Get(), data.msg_r3_signed_len },
data.tbsData3Signature);
data.tbsData3Signature);
}
SuccessOrExit(err);

Expand Down

0 comments on commit e719521

Please sign in to comment.