Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-99951: Warn if there is an OpenSSL major version mismatch #100641

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

moonsikpark
Copy link

@moonsikpark moonsikpark commented Dec 31, 2022

While it is a rare edge case well beyond the average use case, there could be situation where there is an OpenSSL version mismatch between the version python was compiled against, and the version currently loaded. Because OpenSSL states that major releases can break compatibility with previous versions and checks are cheap, there seems to be no harm if python warns when it happens.

tl;dr: This PR warns users when importing the ssl module when the OpenSSL major version mismatch between the version python was compiled against, and the one it is using.

@cpython-cla-bot
Copy link

cpython-cla-bot bot commented Dec 31, 2022

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-bot
Copy link

bedevere-bot commented Dec 31, 2022

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants