stackless python 2.7.9 and openssl-1.1.1g

Barry barry at barrys-emacs.org
Fri Sep 25 03:13:21 EDT 2020



>> On 25 Sep 2020, at 03:28, bhashkar prakash Singh <singh.bhashkar at gmail.com> wrote:
> 
> Hi Barry,
> 
> Thanks for your response.
> 
> I am not an expert in python code. Could you please elaborate a bit more on this.  Which cpython code are you referring to?
> did you modify other files also apart from   _hashopenssl.c and _ssl.c to work with openssl-1.1.1g ?

Get the source of python.org python 2.7.18 and you will find that builds without patches against OpenSSL 1.1.1g.

I would then diff the C files that do not compile in stackless to look for the required fixes.

Barry

> 
> Regards,
> Bhashkar
> 
>> On Fri, Sep 25, 2020 at 2:40 AM Barry Scott <barry at barrys-emacs.org> wrote:
>> 
>> 
>> > On 24 Sep 2020, at 19:21, bhashkar prakash Singh <singh.bhashkar at gmail.com> wrote:
>> > 
>> > Hi,
>> > 
>> > I am using stackless Python 2.7.9 in my project and openssl-1.0.2q.
>> > I just upgraded the Openssl  version to 1.1.1g, due to which python
>> > compilation started failing. So, I patched  _hashopenssl.c and _ssl.c file
>> > in Python Modules as per new openssl  to make compilation successful.
>> > But when I run my image on  target HW,  I am getting below errors.  It
>> > looks like Openssl 1.1.1g libraries are not linked to Python.
>> > I am struggling with this issue since many days. Looks like something I
>> > missed in my patching. Could someone please help on this.
>> 
>> I recently built python 2.7.18 against openssl 1.1.1g without issue.
>> Maybe look see what is in the cpython code that works fine.
>> 
>> Barry
>> > Thanks & Regards,
>> > Bhashkar
>> > -- 
>> > https://mail.python.org/mailman/listinfo/python-list
>> >


More information about the Python-list mailing list