File tree 1 file changed +6
-10
lines changed
src/protocols/secure_channel
1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -1138,19 +1138,15 @@ CASESession::NextStep CASESession::HandleSigma1(System::PacketBufferHandle && ms
1138
1138
1139
1139
return NextStep::Create<Step>(Step::kSendSigma2 );
1140
1140
}
1141
- else
1142
- {
1143
- ChipLogError (SecureChannel, " CASE failed to match destination ID with local fabrics" );
1144
- ChipLogByteSpan (SecureChannel, parsedSigma1.destinationId );
1145
1141
1146
- // FindLocalNodeFromDestinationId returns CHIP_ERROR_KEY_NOT_FOUND if Sigma1's DestinationId does not match any
1147
- // candidateDestinationId, this will trigger a status Report with ProtocolCode = NoSharedTrustRoots.
1142
+ ChipLogError (SecureChannel, " CASE failed to match destination ID with local fabrics " );
1143
+ ChipLogByteSpan (SecureChannel, parsedSigma1. destinationId );
1148
1144
1149
- // Returning a CHIP_ERROR variant that will trigger a corresponding Status Report.
1150
- return NextStep::Create<CHIP_ERROR>(err);
1151
- }
1145
+ // FindLocalNodeFromDestinationId returns CHIP_ERROR_KEY_NOT_FOUND if Sigma1's DestinationId does not match any
1146
+ // candidateDestinationId, this will trigger a status Report with ProtocolCode = NoSharedTrustRoots.
1152
1147
1153
- return NextStep::Create<CHIP_ERROR>(CHIP_NO_ERROR);
1148
+ // Returning a CHIP_ERROR variant that will trigger a corresponding Status Report.
1149
+ return NextStep::Create<CHIP_ERROR>(err);
1154
1150
}
1155
1151
1156
1152
CHIP_ERROR CASESession::PrepareSigma2Resume (EncodeSigma2ResumeInputs & outSigma2ResData)
You can’t perform that action at this time.
0 commit comments