Skip to content

Commit 65bd0bd

Browse files
authored
In SSL module version examples, don't use a legacy version. (#381) (#400)
1 parent 784ba7c commit 65bd0bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/ssl.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ Constants
846846
The version string of the OpenSSL library loaded by the interpreter::
847847

848848
>>> ssl.OPENSSL_VERSION
849-
'OpenSSL 0.9.8k 25 Mar 2009'
849+
'OpenSSL 1.0.2k 26 Jan 2017'
850850

851851
.. versionadded:: 3.2
852852

@@ -856,7 +856,7 @@ Constants
856856
OpenSSL library::
857857

858858
>>> ssl.OPENSSL_VERSION_INFO
859-
(0, 9, 8, 11, 15)
859+
(1, 0, 2, 11, 15)
860860

861861
.. versionadded:: 3.2
862862

@@ -865,9 +865,9 @@ Constants
865865
The raw version number of the OpenSSL library, as a single integer::
866866

867867
>>> ssl.OPENSSL_VERSION_NUMBER
868-
9470143
868+
268443839
869869
>>> hex(ssl.OPENSSL_VERSION_NUMBER)
870-
'0x9080bf'
870+
'0x100020bf'
871871

872872
.. versionadded:: 3.2
873873

0 commit comments

Comments
 (0)