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

Fix incorrect documentation on X509Req.set_version #1130 #1131

Merged
merged 1 commit into from Jun 28, 2022
Merged

Fix incorrect documentation on X509Req.set_version #1130 #1131

merged 1 commit into from Jun 28, 2022

Conversation

aaomidi
Copy link
Contributor

@aaomidi aaomidi commented Jun 28, 2022

Fixes #1130

@alex alex merged commit 02db1a0 into pyca:main Jun 28, 2022
@@ -974,7 +974,7 @@ def get_pubkey(self) -> PKey:

def set_version(self, version: int) -> None:
"""
Set the version subfield (RFC 2459, section 4.1.2.1) of the certificate
Set the version subfield (RFC 2986, section 4.1) of the certificate

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This missed updating the same comment ten lines below, on get_version().

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lolsob, nice catch -- if either of you wants to send a PR I'm happy to merge, otherwise I can stick it on my TODO list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect documentation on X509Req.set_version
3 participants