--- a/components/python/python27/patches/26-sslv2.patch Fri Dec 09 17:25:56 2016 +0100
+++ b/components/python/python27/patches/26-sslv2.patch Tue Dec 20 13:25:44 2016 -0800
@@ -1,8 +1,8 @@
This patch comes from in-house, to deal with SSLv2 no longer being supported.
As it is Solaris-specific, it will not be passed upstream.
---- Python-2.7.10/Lib/test/test_ssl.py.orig 2015-07-24 14:34:42.067600359 -0700
-+++ Python-2.7.10/Lib/test/test_ssl.py 2015-08-03 11:48:02.934532909 -0700
+--- Python-2.7.13/Lib/test/test_ssl.py.~2~ 2016-12-19 08:44:58.900357184 +0000
++++ Python-2.7.13/Lib/test/test_ssl.py 2016-12-19 08:44:58.942536627 +0000
@@ -25,6 +25,9 @@
ssl = support.import_module("ssl")
@@ -11,5 +11,5 @@
+ delattr(ssl, 'PROTOCOL_SSLv2')
+ PROTOCOLS.remove(0)
HOST = support.HOST
-
- def data_file(*name):
+ IS_LIBRESSL = ssl.OPENSSL_VERSION.startswith('LibreSSL')
+ IS_OPENSSL_1_1 = not IS_LIBRESSL and ssl.OPENSSL_VERSION_INFO >= (1, 1, 0)