Author rkuska
Recipients Lukasa, alex, arnau, benjamin.peterson, bkabrda, christian.heimes, dstufft, giampaolo.rodola, gregory.p.smith, icordasc, janssen, josh.r, jwilk, lemburg, mnot, ncoghlan, ned.deily, pitrou, rkuska
Date 2014-08-18.12:30:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1408365004.42.0.449720329884.issue21308@psf.upfronthosting.co.za>
In-reply-to
Content
Hi everyone,

I went ahead and I've applied ssl-backport.diff (alex, 2014-08-07 18:49) patch into Python 2.7.8 on Fedora Rawhide (currently only scratch build).

My report:
Firstly, I've encountered seg fault, I fixed this with patch from http://bugs.python.org/issue22023

Next issue was/is distro specific, there is disabled SSLv2 protocol when SSLv23_method is used[0]. However python3 builds fine[1]:

In test_ssl.py:test_protocol_sslv23 when calling
try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv2, True)
this will raise an OSError on python3 but this error is caught by test.

In python 2 this will raise a socket.error[2] instead, but test_protocol_sslv23 is catching ssl.SSLError, shouldn't be that changed to socket.error so both python2 and python3 behave the same? 


[0] SSLv23 http://pkgs.fedoraproject.org/cgit/openssl.git/tree/openssl-1.0.1h-disable-sslv2v3.patch
[1] Python3 build https://kojipkgs.fedoraproject.org//work/tasks/9993/7399993/build.log (search for test_protocol_sslv23)
[2] Python2 build https://kojipkgs.fedoraproject.org//work/tasks/9367/7399367/build.log (search for test_protocol_sslv23)
History
Date User Action Args
2014-08-18 12:30:04rkuskasetrecipients: + rkuska, lemburg, gregory.p.smith, ncoghlan, janssen, pitrou, mnot, giampaolo.rodola, christian.heimes, benjamin.peterson, jwilk, ned.deily, alex, arnau, bkabrda, icordasc, dstufft, Lukasa, josh.r
2014-08-18 12:30:04rkuskasetmessageid: <1408365004.42.0.449720329884.issue21308@psf.upfronthosting.co.za>
2014-08-18 12:30:04rkuskalinkissue21308 messages
2014-08-18 12:30:03rkuskacreate