summaryrefslogtreecommitdiff
path: root/src/OpenSSL
diff options
context:
space:
mode:
authorAmir Omidi <amir@aaomidi.com>2022-06-28 14:18:59 -0400
committerGitHub <noreply@github.com>2022-06-28 14:18:59 -0400
commit02db1a024d04cf6669670f773fd6c5d3a7275626 (patch)
tree50f8b45ef28cf0e6de14afa18ce04181614c1ac1 /src/OpenSSL
parentbd023272a93f600b0d7b666e15c01843ddb2f6d8 (diff)
downloadpyopenssl-git-02db1a024d04cf6669670f773fd6c5d3a7275626.tar.gz
Fix incorrect documentation on X509Req.set_version #1130 (#1131)
Diffstat (limited to 'src/OpenSSL')
-rw-r--r--src/OpenSSL/crypto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OpenSSL/crypto.py b/src/OpenSSL/crypto.py
index ff1fd08..d6ef67e 100644
--- a/src/OpenSSL/crypto.py
+++ b/src/OpenSSL/crypto.py
@@ -974,7 +974,7 @@ class X509Req:
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.