Thanks to visit codestin.com
Credit goes to github.com

Skip to content

In SSL module version examples, don't use a legacy version. #381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Doc/library/ssl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -856,7 +856,7 @@ Constants
OpenSSL library::

>>> ssl.OPENSSL_VERSION_INFO
(0, 9, 8, 11, 15)
(1, 0, 2, 11, 15)

.. versionadded:: 3.2

Expand All @@ -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

Expand Down