Skip to content

Commit

Permalink
Fix incorrect documentation on X509Req.set_version #1130 (#1131)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaomidi authored Jun 28, 2022
1 parent bd02327 commit 02db1a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenSSL/crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
request.
:param int version: The version number.
Expand Down

0 comments on commit 02db1a0

Please sign in to comment.