Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix-11247-deconstruct-attest-too…
Browse files Browse the repository at this point in the history
…-strict' into fix-11247-deconstruct-attest-too-strict
  • Loading branch information
tcarmelveilleux committed Nov 18, 2021
2 parents 8f089a9 + 62bef80 commit 959d8ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/credentials/DeviceAttestationVendorReserved.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class DeviceAttestationVendorReservedDeconstructor
if (!TLV::IsContextTag(tag))
break;
}
// positioned to first context tag (vendor reserved data)
// positioned to first non-context tag (vendor reserved data)
mIsInitialized = true;
mIsAtFirstToken = true;
return CHIP_NO_ERROR;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/core/CHIPTLVTags.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ inline uint32_t ProfileIdFromTag(Tag tag)
*/
inline uint16_t ProfileNumFromTag(Tag tag)
{
return static_cast<uint16_t>((tag & kProfileNumMask) >> kProfileIdShift);
return static_cast<uint16_t>((tag & kProfileNumMask) >> kProfileNumShift);
}

/**
Expand Down

0 comments on commit 959d8ed

Please sign in to comment.