From cc1b2c25b28b3288b79f0fa4016778e6fcb7e2b3 Mon Sep 17 00:00:00 2001 From: Michael Sandstedt Date: Thu, 27 Jan 2022 18:22:34 -0600 Subject: [PATCH] restyle --- src/commissioner/Events.h | 2 +- src/commissioner/ExampleCommissioningStateMachine.h | 3 ++- src/commissioner/States.h | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commissioner/Events.h b/src/commissioner/Events.h index 362e0193595653..3c6263bb0c344d 100644 --- a/src/commissioner/Events.h +++ b/src/commissioner/Events.h @@ -116,7 +116,7 @@ struct AesCcm128KeyBuffer : private AesCcm128Key AesCcm128KeyBuffer() {} const AesCcm128KeySpan Get() const { return this->Span(); }; void Set(AesCcm128KeySpan keySpan) { *this = AesCcm128KeyBuffer(keySpan); } - void Clear() { *this = AesCcm128KeyBuffer(); } + void Clear() { *this = AesCcm128KeyBuffer(); } }; using OnboardingPayload = chip::Platform::SharedPtr; diff --git a/src/commissioner/ExampleCommissioningStateMachine.h b/src/commissioner/ExampleCommissioningStateMachine.h index b328e9a9169f16..79dfe8aba7053a 100644 --- a/src/commissioner/ExampleCommissioningStateMachine.h +++ b/src/commissioner/ExampleCommissioningStateMachine.h @@ -268,7 +268,8 @@ struct SigningCertificates : SdkStates::Base private: static void OnDeviceNOCChainGeneration(void * context, CHIP_ERROR err, const chip::ByteSpan & derNoc, - const chip::ByteSpan & derIcac, const chip::ByteSpan & derRcac, Optional ipk, Optional adminSubject) + const chip::ByteSpan & derIcac, const chip::ByteSpan & derRcac, + Optional ipk, Optional adminSubject) { ChipLogProgress(Controller, "Received callback from the CA for NOC Chain generation. Status %s", ErrorStr(err)); diff --git a/src/commissioner/States.h b/src/commissioner/States.h index c3f4baaf644de8..fddb9dbce16f21 100644 --- a/src/commissioner/States.h +++ b/src/commissioner/States.h @@ -400,8 +400,7 @@ struct CapturingAttestationChallenge : Base {} void Enter() { - auto challenge = - this->mCommissionee.mPaseSession.Get()->AsSecureSession()->GetCryptoContext().GetAttestationChallenge(); + auto challenge = this->mCommissionee.mPaseSession.Get()->AsSecureSession()->GetCryptoContext().GetAttestationChallenge(); mAttestationInformation.Challenge()->Set(challenge); this->mCtx.Dispatch(TContext::Event::template Create(mAttestationInformation)); }