Skip to content

Commit

Permalink
Replaced 20 --> kKeyIdentifierLength
Browse files Browse the repository at this point in the history
  • Loading branch information
emargolis committed May 9, 2022
1 parent 7f28baa commit 68f4278
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ void DefaultDACVerifier::VerifyAttestationInformation(const DeviceAttestationVer
ByteSpan firmwareInfoSpan;
DeviceAttestationVendorReservedDeconstructor vendorReserved;
ByteSpan certificationDeclarationPayload;
uint8_t paaSKIDBuf[20] = { 0 };
uint8_t paaSKIDBuf[kKeyIdentifierLength] = { 0 };
MutableByteSpan paaSKID(paaSKIDBuf);

VerifyOrExit(ExtractSKIDFromX509Cert(paaDerBuffer, paaSKID) == CHIP_NO_ERROR,
Expand Down

0 comments on commit 68f4278

Please sign in to comment.