Skip to content

Commit

Permalink
fixed problem found in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Hewett committed Sep 10, 2023
1 parent 196d7b6 commit fe84031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hpke/test/userinfo_vc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ TEST_CASE("UserInfoVC Parsing and Validation")
CHECK(vc.not_after().time_since_epoch() == known_not_after);
CHECK(vc.public_key() == known_subject_jwk);

const auto subject = vc.subject();
const auto& subject = vc.subject();
CHECK(subject.sub.value_or("") == known_subject.at("sub"));

CHECK(vc.subject().name.value_or("") == known_subject.at("name"));
Expand Down

0 comments on commit fe84031

Please sign in to comment.