Skip to content

Comments

[3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25451)#25451

Merged
tiran merged 1 commit intopython:3.9from
tiran:backport-b467d9a-3.9
Apr 17, 2021
Merged

[3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25451)#25451
tiran merged 1 commit intopython:3.9from
tiran:backport-b467d9a-3.9

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]

https://bugs.python.org/issue43522

…-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]>
@tiran tiran requested review from 1st1 and asvetlov as code owners April 17, 2021 09:06
@bedevere-bot bedevere-bot added type-bug An unexpected behavior, bug, or error awaiting core review labels Apr 17, 2021
@tiran tiran changed the title [3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) [3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25451) Apr 17, 2021
@tiran tiran merged commit cdf0287 into python:3.9 Apr 17, 2021
@tiran tiran deleted the backport-b467d9a-3.9 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