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.

Title: Windows support for OpenSSL 3.0
Type: enhancement Stage: needs patch
Components: Build, SSL, Windows Versions: Python 3.11
Status: open Resolution:
Dependencies: Superseder:
Assigned To: steve.dower Nosy List: christian.heimes, jay0lee, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2022-01-29 13:35 by jay0lee, last changed 2022-04-11 14:59 by admin.

Messages (2)
msg412072 - (view) Author: Jay Lee (jay0lee) Date: 2022-01-29 13:35
Steps to reproduce:
1) Compile OpenSSL 3.0 on Windows.
2) use get_externals.bat to download Python external requirements on Windows.
3) Overwrite OpenSSL 1.1.1m in externals with your OpenSSL 3.0 build.

Expected behavior:
Python will build against OpenSSL 3.0

Actual behavior:
Build fails with missing DLLs.

Further information:
- For OpenSSL 3.0 builds, the first suffix for libcrypto and libssl is -3, not -1_1.
- For x86_64 builds, there's also an -x64 suffix to distinguish from x86 builds.

I have a openssl.props modified file at:

which I've overwritten the existing:

file with and then succesfully compiled against OpenSSL 3.0. However I'm not certain if or where the logic should exist to detect OpenSSL 3.0 DLLs instead of 1.1.
msg412085 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2022-01-29 17:23
OpenSSL 3.0 support is still experimental and incomplete. 3.10 is definitely out of scope. 3.11 might be feasible if somebody puts in the work.
Date User Action Args
2022-04-11 14:59:55adminsetgithub: 90728
2022-01-29 17:23:26christian.heimessetassignee: christian.heimes -> steve.dower
messages: + msg412085
2022-01-29 15:24:52zach.waresetversions: - Python 3.10
nosy: + paul.moore, tim.golden, zach.ware, steve.dower

components: + Windows
type: compile error -> enhancement
stage: needs patch
2022-01-29 13:35:11jay0leecreate