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 Tarnum
Recipients Tarnum, christian.heimes, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-05-15.10:39:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621075143.47.0.586149387116.issue44141@roundup.psfhosted.org>
In-reply-to
Content
Hello! I'm using specifically crafted Python 3.7.1 for NT 5.2 x86 (Server 2003 R2) and cannot upgrade Python to later versions.
I always building OpenSSL myself using compatible version of MSYS2 with perl 5.22.
Compiled DLLs of OpenSSL 1.1.1k works fine for me (libcrypto-1_1.dll and libssl-1_1.dll in C:\Python37\DLLs\).
But when I try building OpenSSL 3.0.0 alpha 16 (repacing libcrypto-3.dll with libcrypto-1_1.dll and libssl-3.dll with libssl-1_1.dll in
Makefile and util\mkdef.pl) I got this error because of OpenSSL 3.0 backwards incompatibility:

import ssl
File "C:\Python37\lib\ssl.py", line 98, in <module>
import _ssl (C:\Python37\DLLs\_ssl.pyd) # if we can't import it, let the error propagate
ImportError: DLL load failed: The specified procedure could not be found.

What could I do to fix it? Thanks in advance!
History
Date User Action Args
2021-05-15 10:39:03Tarnumsetrecipients: + Tarnum, paul.moore, christian.heimes, tim.golden, zach.ware, steve.dower
2021-05-15 10:39:03Tarnumsetmessageid: <1621075143.47.0.586149387116.issue44141@roundup.psfhosted.org>
2021-05-15 10:39:03Tarnumlinkissue44141 messages
2021-05-15 10:39:02Tarnumcreate