[New-bugs-announce] [issue46570] Windows support for OpenSSL 3.0

Jay Lee report at bugs.python.org
Sat Jan 29 08:35:11 EST 2022


New submission from Jay Lee <jay0lee at gmail.com>:

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:
https://github.com/GAM-team/actions-hello-world/blob/master/openssl.props

which I've overwritten the existing:
https://github.com/python/cpython/blob/main/PCbuild/openssl.props#L13

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.

----------
assignee: christian.heimes
components: Build, SSL
messages: 412072
nosy: christian.heimes, jay0lee
priority: normal
severity: normal
status: open
title: Windows support for OpenSSL 3.0
type: compile error
versions: Python 3.10, Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46570>
_______________________________________


More information about the New-bugs-announce mailing list