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 Edd.Barrett
Recipients Edd.Barrett
Date 2014-04-26.14:21:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398522096.15.0.100207892067.issue21356@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,

I'm sure you have heard about OpenBSD's LibreSSL fork of OpenSSL. There has been a lot of code reorganisation and removal. One function which was removed `RAND_egd()` breaks the CPython build. CPython no longer builds on OpenBSD.

I have submitted a patch against PyPy already. The application library part of the change can probably be re-used since PyPy borrows CPython's application-level standard library (including the `ssl` and `socket` module). However, for the interpreter level change, the build system will probably have to be hacked. We need to check for the existence of `RAND_egd()` at configure time and only build in support if the function is found.

The PyPy patch (and some discussion) is here:
https://bitbucket.org/pypy/pypy/pull-request/233/fix-translation-for-libressl-and-fix-ssl/diff#comment-1744605

I may have a go at doing this myself (for Python-2.7 at least) if no-one steps up in the meantime; for now just making the CPython devs aware.

Thanks
History
Date User Action Args
2014-04-26 14:21:36Edd.Barrettsetrecipients: + Edd.Barrett
2014-04-26 14:21:36Edd.Barrettsetmessageid: <1398522096.15.0.100207892067.issue21356@psf.upfronthosting.co.za>
2014-04-26 14:21:36Edd.Barrettlinkissue21356 messages
2014-04-26 14:21:34Edd.Barrettcreate