Skip to content

Commit

Permalink
Remove unused StorableFabricInfo struct definition. (#17954)
Browse files Browse the repository at this point in the history
This was missed when reworking fabric storage.
  • Loading branch information
bzbarsky-apple authored May 2, 2022
1 parent 75d7211 commit 72266d7
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/credentials/FabricTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,22 +244,6 @@ class DLL_EXPORT FabricInfo
}

CHIP_ERROR SetCert(MutableByteSpan & dstCert, const ByteSpan & srcCert);

struct StorableFabricInfo
{
uint8_t mFabricIndex;
uint16_t mVendorId; /* This field is serialized in LittleEndian byte order */

uint16_t mRootCertLen; /* This field is serialized in LittleEndian byte order */
uint16_t mICACertLen; /* This field is serialized in LittleEndian byte order */
uint16_t mNOCCertLen; /* This field is serialized in LittleEndian byte order */

Crypto::P256SerializedKeypair mOperationalKey;
uint8_t mRootCert[Credentials::kMaxCHIPCertLength];
uint8_t mICACert[Credentials::kMaxCHIPCertLength];
uint8_t mNOCCert[Credentials::kMaxCHIPCertLength];
char mFabricLabel[kFabricLabelMaxLengthInBytes + 1] = { '\0' };
};
};

// Once attribute store has persistence implemented, FabricTable shoud be backed using
Expand Down

0 comments on commit 72266d7

Please sign in to comment.