components/python/python27/patches/21-disable-sslv3.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 02 May 2017 17:33:26 -0700
changeset 7964 d9801318ed3d
parent 7516 09c933391a1b
permissions -rw-r--r--
25981468 Build ilmbase and openexr with the GNU compilers

This patch comes from in-house.  It has not yet been submitted upstream,
but submission is planned.

--- Python-2.7.10/Lib/test/test_ssl.py.~1~	2015-05-10 10:17:04 -0800
+++ Python-2.7.10/Lib/test/test_ssl.py	2015-05-18 14:53:04 -0800
@@ -2315,7 +2315,7 @@
                 sys.stdout.write("\n")
             if hasattr(ssl, 'PROTOCOL_SSLv2'):
                 try:
-                    try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv2, True)
+                    try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv2, False)
                 except socket.error as x:
                     # this fails on some older versions of OpenSSL (0.9.7l, for instance)
                     if support.verbose: