Skip to content

Conversation

@tiran
Copy link
Member

@tiran tiran commented Apr 17, 2021

Fix problem with ssl.SSLContext.hostname_checks_common_name. OpenSSL does not
copy hostflags from struct SSL_CTX to struct SSL.

Signed-off-by: Christian Heimes [email protected].
(cherry picked from commit b467d9a)

Co-authored-by: Christian Heimes [email protected]
(cherry picked from commit 330b49e)

Co-authored-by: Christian Heimes [email protected]

https://bugs.python.org/issue43522

…thonGH-24899)

Fix problem with ssl.SSLContext.hostname_checks_common_name. OpenSSL does not
copy hostflags from *struct SSL_CTX* to *struct SSL*.

Signed-off-by: Christian Heimes <[email protected]>.
(cherry picked from commit b467d9a)

Co-authored-by: Christian Heimes <[email protected]>
(cherry picked from commit 330b49e)

Co-authored-by: Christian Heimes <[email protected]>
@tiran tiran requested review from 1st1 and asvetlov as code owners April 17, 2021 09:07
@bedevere-bot bedevere-bot added the type-bug An unexpected behavior, bug, or error label Apr 17, 2021
@tiran tiran changed the title [3.8] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) [3.8] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25452) Apr 17, 2021
@tiran tiran merged commit f77ca86 into python:3.8 Apr 17, 2021
@tiran tiran deleted the backport-330b49e-3.8 branch April 17, 2021 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants