This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients alex, christian.heimes, dstufft, giampaolo.rodola, janssen, kushal.das, ncoghlan, ned.deily, pitrou, suki
Date 2015-07-05.11:25:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1436095539.81.0.151097036326.issue23965@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch creates a TLSv1 context at test_ssl import time to see if SSLv2 and SSLv3 peers are disallowed by default.

The test expectations for context options, SSLv23 and SSLv3 are then adjusted accordingly.

The context options tests are also updated to compare binary strings rather than comparing integers directly, as the diff is much nicer with the strings.

Creating the TLSv1 context at import time could be avoided easily enough by moving the options flag check into the individual tests, so I'm open to doing that if folks would prefer it.
History
Date User Action Args
2015-07-05 11:25:39ncoghlansetrecipients: + ncoghlan, janssen, pitrou, giampaolo.rodola, christian.heimes, ned.deily, alex, kushal.das, dstufft, suki
2015-07-05 11:25:39ncoghlansetmessageid: <1436095539.81.0.151097036326.issue23965@psf.upfronthosting.co.za>
2015-07-05 11:25:39ncoghlanlinkissue23965 messages
2015-07-05 11:25:39ncoghlancreate