Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and cecille committed Sep 27, 2023
1 parent 7c8489d commit 3256c21
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ const Span<const ByteSpan> kTestAttestationTrustStoreRoots((const ByteSpan[]){
sTestCert_PAA_NoVID_Cert,
});

const Span<const ByteSpan> & GetTestPaaRootStore() {
const Span<const ByteSpan> & GetTestPaaRootStore()
{
return kTestAttestationTrustStoreRoots;
}

} // TestCerts
} // chip
} // namespace TestCerts
} // namespace chip
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ extern const ByteSpan sTestCert_PAA_NoVID_Cert;

const Span<const ByteSpan> & GetTestPaaRootStore();

} // TestCerts
} // chip
} // namespace TestCerts
} // namespace chip
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,7 @@ constexpr std::array<MatterCDSigningKey, 6> gCdSigningKeys = { {

struct TestAttestationTrustStore final : public ArrayAttestationTrustStore
{
TestAttestationTrustStore() :
ArrayAttestationTrustStore(GetTestPaaRootStore().data(), GetTestPaaRootStore().size())
{}
TestAttestationTrustStore() : ArrayAttestationTrustStore(GetTestPaaRootStore().data(), GetTestPaaRootStore().size()) {}
};
Global<TestAttestationTrustStore> gTestAttestationTrustStore;

Expand Down

0 comments on commit 3256c21

Please sign in to comment.