summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2017-03-02 10:23:19 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-03-02 10:23:19 (GMT)
commit275104e86b0a3d88bfa1aaf51f70c5db3b4f47c4 (patch)
tree1ed92c8f99256f727036f4a1d32f09bde5c67ecd /Doc
parent2b221b78d602f1684a81b85af748fa55b1449dac (diff)
downloadcpython-275104e86b0a3d88bfa1aaf51f70c5db3b4f47c4.zip
cpython-275104e86b0a3d88bfa1aaf51f70c5db3b4f47c4.tar.gz
cpython-275104e86b0a3d88bfa1aaf51f70c5db3b4f47c4.tar.bz2
In SSL module version examples, don't use a legacy version. (#381)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/ssl.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 7b76b2a..bbb1374 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -846,7 +846,7 @@ Constants
The version string of the OpenSSL library loaded by the interpreter::
>>> ssl.OPENSSL_VERSION
- 'OpenSSL 0.9.8k 25 Mar 2009'
+ 'OpenSSL 1.0.2k 26 Jan 2017'
.. versionadded:: 3.2
@@ -856,7 +856,7 @@ Constants
OpenSSL library::
>>> ssl.OPENSSL_VERSION_INFO
- (0, 9, 8, 11, 15)
+ (1, 0, 2, 11, 15)
.. versionadded:: 3.2
@@ -865,9 +865,9 @@ Constants
The raw version number of the OpenSSL library, as a single integer::
>>> ssl.OPENSSL_VERSION_NUMBER
- 9470143
+ 268443839
>>> hex(ssl.OPENSSL_VERSION_NUMBER)
- '0x9080bf'
+ '0x100020bf'
.. versionadded:: 3.2