Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify HasCertificate interface method #209

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

cmurphy
Copy link
Contributor

@cmurphy cmurphy commented Jun 12, 2024

Return one value instead of two, since the same information can be gleaned from the one value. Rename the method to be semantically consistent with the new signature.

Fixes #75

Used GetCertificate instead of Certificate since the struct that implements the interface already has a field named Certificate.

Summary

Release Note

Documentation

Return one value instead of two, since the same information can be
gleaned from the one value. Rename the method to be semantically
consistent with the new signature.

Signed-off-by: Colleen Murphy <[email protected]>
@haydentherapper haydentherapper merged commit 4d5b65e into sigstore:main Jun 13, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changing VerificationContent interface method to return certificate by pointer
3 participants