Merge from 3.5.
This commit is contained in:
commit
c2f2ef8faa
3
.hgtags
3
.hgtags
|
@ -147,6 +147,8 @@ b4cbecbc0781e89a309d03b60a1f75f8499250e6 v3.4.3
|
|||
04f3f725896c6961212c3a12e8ac25be6958f4fa v3.4.4rc1
|
||||
737efcadf5a678b184e0fa431aae11276bf06648 v3.4.4
|
||||
3631bb4a2490292ebf81d3e947ae36da145da564 v3.4.5rc1
|
||||
619b61e505d0e2ccc8516b366e4ddd1971b46a6f v3.4.5
|
||||
3631bb4a2490292ebf81d3e947ae36da145da564 v3.4.5rc1
|
||||
5d4b6a57d5fd7564bf73f3db0e46fe5eeb00bcd8 v3.5.0a1
|
||||
0337bd7ebcb6559d69679bc7025059ad1ce4f432 v3.5.0a2
|
||||
82656e28b5e5c4ae48d8dd8b5f0d7968908a82b6 v3.5.0a3
|
||||
|
@ -163,5 +165,6 @@ cc15d736d860303b9da90d43cd32db39bab048df v3.5.0rc2
|
|||
948ef16a69513ba1ff15c9d7d0b012b949df4c80 v3.5.1rc1
|
||||
37a07cee5969e6d3672583187a73cf636ff28e1b v3.5.1
|
||||
68feec6488b26327a85a634605dd28eca4daa5f1 v3.5.2rc1
|
||||
4def2a2901a5618ea45bcc8f2a1411ef33af18ad v3.5.2
|
||||
5896da372fb044e38595fb74495de1e1e7c8fb3c v3.6.0a1
|
||||
37889342355223e2fc1438de3dc7ffcd625c60f7 v3.6.0a2
|
||||
|
|
|
@ -844,7 +844,8 @@ class ContextTests(unittest.TestCase):
|
|||
self.assertEqual(ssl.OP_ALL | ssl.OP_NO_TLSv1 | ssl.OP_NO_SSLv3,
|
||||
ctx.options)
|
||||
ctx.options = 0
|
||||
self.assertEqual(0, ctx.options)
|
||||
# Ubuntu has OP_NO_SSLv3 forced on by default
|
||||
self.assertEqual(0, ctx.options & ~ssl.OP_NO_SSLv3)
|
||||
else:
|
||||
with self.assertRaises(ValueError):
|
||||
ctx.options = 0
|
||||
|
|
Loading…
Reference in New Issue