Skip to content

Commit

Permalink
Update src/credentials/CertificationDeclaration.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Boris Zbarsky <[email protected]>
  • Loading branch information
emargolis and bzbarsky-apple authored May 5, 2022
1 parent b427cf9 commit 4a744e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/credentials/CertificationDeclaration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ CHIP_ERROR EncodeCertificationElements(const CertificationElements & certElement
ReturnErrorOnFailure(writer.StartContainer(ContextTag(kTag_AuthorizedPAAList), kTLVType_Array, outerContainer2));
for (uint8_t i = 0; i < certElements.AuthorizedPAAListCount; i++)
{
ReturnErrorOnFailure(writer.PutBytes(AnonymousTag(), certElements.AuthorizedPAAList[i], kKeyIdentifierLength));
ReturnErrorOnFailure(writer.Put(AnonymousTag(), ByteSpan(certElements.AuthorizedPAAList[i])));
}
ReturnErrorOnFailure(writer.EndContainer(outerContainer2));
}
Expand Down

0 comments on commit 4a744e6

Please sign in to comment.