diff --git a/src/protocols/secure_channel/CASESession.cpp b/src/protocols/secure_channel/CASESession.cpp index d40109f8d5d919..301b24f230e6e0 100644 --- a/src/protocols/secure_channel/CASESession.cpp +++ b/src/protocols/secure_channel/CASESession.cpp @@ -189,7 +189,6 @@ CHIP_ERROR CASESession::Init(SessionManager & sessionManager, Credentials::Certi return CHIP_NO_ERROR; } - CHIP_ERROR CASESession::PrepareForSessionEstablishment(SessionManager & sessionManager, FabricTable * fabricTable, SessionResumptionStorage * sessionResumptionStorage, diff --git a/src/protocols/secure_channel/tests/TestCASESession.cpp b/src/protocols/secure_channel/tests/TestCASESession.cpp index a2bf24972c1eb9..994cf0acd2191d 100644 --- a/src/protocols/secure_channel/tests/TestCASESession.cpp +++ b/src/protocols/secure_channel/tests/TestCASESession.cpp @@ -249,11 +249,11 @@ void CASE_SecurePairingWaitTest(nlTestSuite * inSuite, void * inContext) pairing.PrepareForSessionEstablishment(sessionManager, nullptr, nullptr, nullptr, nullptr, ScopedNodeId()) == CHIP_ERROR_INVALID_ARGUMENT); NL_TEST_ASSERT(inSuite, - pairing.PrepareForSessionEstablishment(sessionManager, nullptr, nullptr, nullptr, &delegate, ScopedNodeId()) == - CHIP_ERROR_INVALID_ARGUMENT); + pairing.PrepareForSessionEstablishment(sessionManager, nullptr, nullptr, nullptr, &delegate, + ScopedNodeId()) == CHIP_ERROR_INVALID_ARGUMENT); NL_TEST_ASSERT(inSuite, - pairing.PrepareForSessionEstablishment(sessionManager, &fabrics, nullptr, nullptr, &delegate, ScopedNodeId()) == - CHIP_NO_ERROR); + pairing.PrepareForSessionEstablishment(sessionManager, &fabrics, nullptr, nullptr, &delegate, + ScopedNodeId()) == CHIP_NO_ERROR); } }