Skip to content

Commit

Permalink
clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
bifurcation committed Aug 26, 2023
1 parent 840a39f commit 2249d88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/hpke/src/signature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ struct GroupSignature : public Signature
private:
const Group& group;

json validate_jwk_json(const std::string json_str, bool private_key) const
json validate_jwk_json(const std::string& json_str, bool private_key) const
{
json jwk_json = json::parse(json_str);

Expand Down
4 changes: 2 additions & 2 deletions src/credential.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ UserInfoVCCredential::UserInfoVCCredential(bytes userinfo_vc_jwt)
}

bool
// NOLINTNEXTLINE(readability-convert-member-functions-to-static)
UserInfoVCCredential::valid_for(const SignaturePublicKey& /* pub */) const
{
// TODO Extract payload
// TODO Extract did:jwk
// TODO(RLB) Extract payload -> did:jwk, compare
throw NotImplementedError();
}

Expand Down

0 comments on commit 2249d88

Please sign in to comment.