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

Skip to content

Commit 609ef01

Browse files
committed
In search of TLS 1.1 bug: add debugging output in verbose mode
1 parent 972d5bb commit 609ef01

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Lib/test/test_ssl.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2188,6 +2188,11 @@ def test_main(verbose=False):
21882188
(ssl.OPENSSL_VERSION, ssl.OPENSSL_VERSION_INFO))
21892189
print(" under %s" % plat)
21902190
print(" HAS_SNI = %r" % ssl.HAS_SNI)
2191+
print(" OP_ALL = 0x%8x" % ssl.OP_ALL)
2192+
try:
2193+
print(" OP_NO_TLSv1_1 = 0x%8x" % ssl.OP_NO_TLSv1_1)
2194+
except AttributeError:
2195+
pass
21912196

21922197
for filename in [
21932198
CERTFILE, SVN_PYTHON_ORG_ROOT_CERT, BYTES_CERTFILE,

0 commit comments

Comments
 (0)