Skip to content

Commit

Permalink
add comment to describe why 2 certs are being stored
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-apple committed Jun 10, 2021
1 parent 0c5c1ef commit 98717d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/transport/AdminPairingTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ class DLL_EXPORT AdminPairingInfo

Crypto::P256SerializedKeypair mOperationalKey;
uint8_t mRootCert[kMaxChipCertSize];
// The operationa credentials set can have up to two certs -> ICAC and NOC
uint8_t mOperationalCert[kMaxChipCertSize * 2];
char mFabricLabel[kFabricLabelMaxLengthInBytes + 1] = { '\0' };
};
Expand Down

0 comments on commit 98717d0

Please sign in to comment.