[issue30008] OpenSSL 1.1.0 deprecated functions

2017-10-10 Thread Mark Wright
Mark Wright <gie...@gentoo.org> added the comment: Thanks, I opened https://github.com/python/cpython/pull/3943 for the rest of the changes (on top of your changes in https://github.com/python/cpython/pull/3934) to allow it to compile with OpenSSL 1.1.0f compiled with disable-depr

[issue30008] OpenSSL 1.1.0 deprecated functions

2017-10-10 Thread Mark Wright
Change by Mark Wright <gie...@gentoo.org>: -- pull_requests: +3915 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue30008> ___ _

[issue30008] OpenSSL 1.1.0 deprecated functions

2017-10-09 Thread Mark Wright
Mark Wright <gie...@gentoo.org> added the comment: My proposed patch based on python 3.6.3 to remove the use of the API that was deprecated in openssl 1.1. As RAND_pseudo_bytes was removed I call RAND_bytes instead. -- Added file: https://bugs.python.org/file47201/python-3.6.3-o

[issue30008] OpenSSL 1.1.0 deprecated functions

2017-10-09 Thread Mark Wright
Mark Wright <gie...@gentoo.org> added the comment: My proposed patch based on python 3.5.4 to remove the use of the API that was deprecated in openssl 1.1. As RAND_pseudo_bytes was removed I call RAND_bytes instead. -- Added file: https://bugs.python.org/file47200/python-3.5.4-o

[issue30008] OpenSSL 1.1.0 deprecated functions

2017-10-09 Thread Mark Wright
Mark Wright <gie...@gentoo.org> added the comment: This patch allows python 3.4.6 to compile with openssl 1.1 without using the deprecated API. It is hacky though as I had to backport changes that were already in 3.5.4 and 3.6.3. Also RAND_pseudo_bytes was removed, so I call RAND_bytes i

[issue30008] OpenSSL 1.1.0 deprecated functions

2017-10-09 Thread Mark Wright
Mark Wright <gie...@gentoo.org> added the comment: My proposed patch based on python 2.7.14 to remove the use of the API that was deprecated in openssl 1.1. -- keywords: +patch nosy: +gienah Added file: https://bugs.python.org/file47198/python-2.7.14-openssl-1.1.0