1 --- Python-2.7.16/Lib/test/test_ssl.py 2019-03-02 19:17:42.000000000 +0000
2 +++ Python-2.7.16/Lib/test/test_ssl.py.new 2019-03-13 18:51:42.771023876 +0000
3 @@ -144,12 +144,13 @@ def asn1time(cert_time):
6 # Issue #9415: Ubuntu hijacks their OpenSSL and forcefully disables SSLv2
7 +# So does OpenIndiana, see components/library/openssl/openssl-1.0.2/patches/041_rm_sslv2_v3.patch
8 def skip_if_broken_ubuntu_ssl(func):
9 if hasattr(ssl, 'PROTOCOL_SSLv2'):
10 @functools.wraps(func)
11 def f(*args, **kwargs):
13 - ssl.SSLContext(ssl.PROTOCOL_SSLv2)
14 + raise unittest.SkipTest("OpenIndiana patched-out SSLv2")
16 if (ssl.OPENSSL_VERSION_INFO == (0, 9, 8, 15, 15) and
17 platform.linux_distribution() == ('debian', 'squeeze/sid', '')):