diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-03-29 18:09:06 +0100 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-03-29 18:09:06 +0100 |
commit | 609ef01b022b7ee22703255058e6c95100cb0ca9 (patch) | |
tree | 0b0500dec5a0061be31446363f8d507f2595940b /Lib/test/test_ssl.py | |
parent | 972d5bb763ad0c8d233801f8d4ffc51f14126b1d (diff) | |
download | cpython-git-609ef01b022b7ee22703255058e6c95100cb0ca9.tar.gz |
In search of TLS 1.1 bug: add debugging output in verbose mode
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r-- | Lib/test/test_ssl.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 431cd5a71c..408033e242 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -2188,6 +2188,11 @@ def test_main(verbose=False): (ssl.OPENSSL_VERSION, ssl.OPENSSL_VERSION_INFO)) print(" under %s" % plat) print(" HAS_SNI = %r" % ssl.HAS_SNI) + print(" OP_ALL = 0x%8x" % ssl.OP_ALL) + try: + print(" OP_NO_TLSv1_1 = 0x%8x" % ssl.OP_NO_TLSv1_1) + except AttributeError: + pass for filename in [ CERTFILE, SVN_PYTHON_ORG_ROOT_CERT, BYTES_CERTFILE, |