diff options
author | William Pitcock <nenolod@dereferenced.org> | 2017-11-10 01:59:46 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-11-10 02:00:11 +0000 |
commit | 13231070feabdb558068a82cdc71a72517f3aba4 (patch) | |
tree | 28fb2b4fc693ed744e6b600bb1fa8846115802c0 /main/python3/libressl.patch | |
parent | ae645df38f22ca429592394435c0039910516254 (diff) | |
download | aports-13231070feabdb558068a82cdc71a72517f3aba4.tar.bz2 aports-13231070feabdb558068a82cdc71a72517f3aba4.tar.xz |
main/python3: fix libressl build
Diffstat (limited to 'main/python3/libressl.patch')
-rw-r--r-- | main/python3/libressl.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/main/python3/libressl.patch b/main/python3/libressl.patch new file mode 100644 index 0000000000..21d9ed67d7 --- /dev/null +++ b/main/python3/libressl.patch @@ -0,0 +1,10 @@ +--- Python-3.6.3.orig/Lib/test/test_ssl.py ++++ Python-3.6.3/Lib/test/test_ssl.py +@@ -3303,6 +3303,7 @@ + self.assertIs(stats['client_npn_protocol'], None) + + @unittest.skipUnless(ssl.HAS_NPN, "NPN support needed for this test") ++ @unittest.skipIf(IS_LIBRESSL, "LibreSSL doesn't support NPN anymore") + def test_npn_protocols(self): + server_protocols = ['http/1.1', 'spdy/2'] + protocol_tests = [ |