Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmelveilleux committed Jun 13, 2022
1 parent baf5e66 commit d956b35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/protocols/secure_channel/CASESession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1065,10 +1065,10 @@ CHIP_ERROR CASESession::SendSigma3()

ChipLogDetail(SecureChannel, "Sending Sigma3");

VerifyOrExit(icacBuf.Alloc(kMaxCHIPCertLength), CHIP_ERROR_NO_MEMORY);
VerifyOrExit(icacBuf.Alloc(kMaxCHIPCertLength), err = CHIP_ERROR_NO_MEMORY);
icaCert = MutableByteSpan{ icacBuf.Get(), kMaxCHIPCertLength };

VerifyOrExit(nocBuf.Alloc(kMaxCHIPCertLength), CHIP_ERROR_NO_MEMORY);
VerifyOrExit(nocBuf.Alloc(kMaxCHIPCertLength), err = CHIP_ERROR_NO_MEMORY);
nocCert = MutableByteSpan{ nocBuf.Get(), kMaxCHIPCertLength };

VerifyOrExit(mFabricsTable != nullptr, err = CHIP_ERROR_INCORRECT_STATE);
Expand Down

0 comments on commit d956b35

Please sign in to comment.