Skip to content

Commit

Permalink
Stop using GroupId for the type of a PAKE key id. (#13391)
Browse files Browse the repository at this point in the history
A PAKE key id is a uint16_t, or maybe we should have a specific type
name for it, but it's not a GroupId.
  • Loading branch information
bzbarsky-apple authored Jan 10, 2022
1 parent f2c2650 commit 08753ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/core/NodeId.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ constexpr NodeId NodeIdFromGroupId(GroupId aGroupId)
return kMinGroupNodeId | aGroupId;
}

constexpr NodeId NodeIdFromPAKEKeyId(GroupId aPAKEKeyId)
constexpr NodeId NodeIdFromPAKEKeyId(uint16_t aPAKEKeyId)
{
return kMinPAKEKeyId | aPAKEKeyId;
}
Expand Down

0 comments on commit 08753ba

Please sign in to comment.