summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/python-disable-ssl-test.patch
blob: e351c775056de9f82b35045ac7ee468a16370e1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Disable a test that fails with openssl-1.0.2b.

--- Lib/test/test_ssl.py.orig	2015-02-25 06:27:45.000000000 -0500
+++ Lib/test/test_ssl.py	2015-06-12 03:14:09.395212502 -0400
@@ -2718,6 +2718,7 @@
                                        chatty=True, connectionchatty=True)
             self.assertIs(stats['compression'], None)
 
+        @unittest.skipIf(True, "openssl 1.0.2b complains: dh key too small")
         def test_dh_params(self):
             # Check we can get a connection with ephemeral Diffie-Hellman
             context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)