summaryrefslogtreecommitdiffstats
path: root/Doc/library/ssl.rst
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-04-17 08:07:19 (GMT)
committerGitHub <noreply@github.com>2021-04-17 08:07:19 (GMT)
commitb467d9a24011992242c95d9157d3455f8a84466b (patch)
treeef3a885c3c2384130cc3873e9b14c744b6fd19d2 /Doc/library/ssl.rst
parentcfaa2d338bd72af63a35a424515b47a183cefc14 (diff)
downloadcpython-b467d9a24011992242c95d9157d3455f8a84466b.zip
cpython-b467d9a24011992242c95d9157d3455f8a84466b.tar.gz
cpython-b467d9a24011992242c95d9157d3455f8a84466b.tar.bz2
bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-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 <christian@python.org>
Diffstat (limited to 'Doc/library/ssl.rst')
-rw-r--r--Doc/library/ssl.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 587d3b3..f7bdd56 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -2047,6 +2047,11 @@ to speed up repeated connections from the same clients.
.. versionadded:: 3.7
+ .. versionchanged:: 3.10
+
+ The flag had no effect with OpenSSL before version 1.1.1k. Python 3.8.9,
+ 3.9.3, and 3.10 include workarounds for previous versions.
+
.. attribute:: SSLContext.security_level
An integer representing the `security level