summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-04-17 09:35:56 (GMT)
committerGitHub <noreply@github.com>2021-04-17 09:35:56 (GMT)
commitf77ca86f75d5ad9b52e5f3cd19c0024b204b168c (patch)
tree38c39deb828f1ca8bfac3757b1b7ad299958dcd9 /Misc
parentd5b80eb11b4812b4a579ce129ba4a10c5f5d27f6 (diff)
downloadcpython-f77ca86f75d5ad9b52e5f3cd19c0024b204b168c.zip
cpython-f77ca86f75d5ad9b52e5f3cd19c0024b204b168c.tar.gz
cpython-f77ca86f75d5ad9b52e5f3cd19c0024b204b168c.tar.bz2
[3.8] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25452)
Fix problem with ssl.SSLContext.hostname_checks_common_name. OpenSSL does not copy hostflags from *struct SSL_CTX* to *struct SSL*. (cherry picked from commit 330b49e397168df789fd0dd20cfe7e81b8e47258)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2021-03-16-22-37-32.bpo-43522.dhNwOu.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-03-16-22-37-32.bpo-43522.dhNwOu.rst b/Misc/NEWS.d/next/Library/2021-03-16-22-37-32.bpo-43522.dhNwOu.rst
new file mode 100644
index 0000000..a17e1b4
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-03-16-22-37-32.bpo-43522.dhNwOu.rst
@@ -0,0 +1 @@
+Fix problem with :attr:`~ssl.SSLContext.hostname_checks_common_name`. OpenSSL does not copy hostflags from *struct SSL_CTX* to *struct SSL*.