From 02db1a024d04cf6669670f773fd6c5d3a7275626 Mon Sep 17 00:00:00 2001 From: Amir Omidi Date: Tue, 28 Jun 2022 14:18:59 -0400 Subject: Fix incorrect documentation on X509Req.set_version #1130 (#1131) --- src/OpenSSL/crypto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/OpenSSL/crypto.py') 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. -- cgit v1.2.1