mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
In search of TLS 1.1 bug: add debugging output in verbose mode
This commit is contained in:
parent
972d5bb763
commit
609ef01b02
1 changed files with 5 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue