![]() ![]() That version shipped with openssl 1.1.3 (could be 4) and I built the dlls for 1.1.6 (could be 7) and replaced them and python had no issues. I was once able to do this following the above steps for an older version of python. I am reasonably certain I need the 圆4 version of the dlls because (1) my python installation is 圆4 (2) when I used the visual studio dumpbin.exe tool on the python shipped dlls to inspect the headers they say “圆4” in them (3) the 圆4 dlls are a similar size to the ones shipped with python and the x86 versions are smaller. ImportError: DLL load failed while importing _ssl: %1 is not a valid Win32 application. When I try and import the ssl library in python I get: I replaced the dlls in the python installation with those. I then ran nmake which produced: libcrypto-1_1.dll and libssl-1_1.dll I then built openssl for x86, using the x86 native tools command prompt for vs 2019 and the command: ImportError: DLL load failed while importing _ssl: The specified module could not be found. When I try to import the ssl library in python, I get the error: I renamed both files to remove the “-圆4” at the end of the name and then used them to replace the existing dlls in the python installation. ![]() This produces the two dlls I need: libcrypto-1_1-圆4.dll and libssl-1_1-圆4.dll I ran the following config command using the 圆4 native tools command prompt for vs 2019: I am using Microsoft visual studio 2019 + strawberry perl + nasm. ![]() I have been able to successfully build openssl 1.1.1.9 in windows 10 following the instructions in the release. I would be really grateful if someone on the core development team could let me know how openssl is built for python’s 圆4 windows installers so that I can replicate and update python’s openssl as soon as as security update is released. I would therefore like to replace these with the latest versions. I have noticed the openssl dll files shipped with python (libcrypto-1_1.dll & libssl-1_1.dll) are only version 1.1.1.7. I am running python 3.9.1 for windows 10 (圆4). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |