diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-04-05 21:35:07 +0000 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-04-05 21:35:07 +0000 |
commit | f9de534c218cfdab5b4114e6ed535c940ae6b8b5 (patch) | |
tree | 176bd640ca6f0c8d17f0a2644fcd734bc44d8580 /Lib/ssl.py | |
parent | fce1d31d4710c0280e2b646f72174de79a713430 (diff) | |
download | cpython-git-f9de534c218cfdab5b4114e6ed535c940ae6b8b5.tar.gz |
Issue #8321: Give access to OpenSSL version numbers from the `ssl` module,
using the new attributes `ssl.OPENSSL_VERSION`, `ssl.OPENSSL_VERSION_INFO`
and `ssl.OPENSSL_VERSION_NUMBER`.
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r-- | Lib/ssl.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/ssl.py b/Lib/ssl.py index 21664b94cd..cd1d865c92 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py @@ -59,6 +59,7 @@ import textwrap import _ssl # if we can't import it, let the error propagate +from _ssl import OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_INFO, OPENSSL_VERSION from _ssl import SSLError from _ssl import CERT_NONE, CERT_OPTIONAL, CERT_REQUIRED from _ssl import PROTOCOL_SSLv2, PROTOCOL_SSLv3, PROTOCOL_SSLv23, PROTOCOL_TLSv1 |