summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/utils.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-04-17 09:35:24 (GMT)
committerGitHub <noreply@github.com>2021-04-17 09:35:24 (GMT)
commitcdf02879790b8e52456df6e9d58fb8c0842fc359 (patch)
treec4b28a8979106bbf8a5d3eaa39ff96720c97b3c1 /Lib/test/test_asyncio/utils.py
parente1903e11a3d42512effe336026e0c67f602e5848 (diff)
downloadcpython-cdf02879790b8e52456df6e9d58fb8c0842fc359.zip
cpython-cdf02879790b8e52456df6e9d58fb8c0842fc359.tar.gz
cpython-cdf02879790b8e52456df6e9d58fb8c0842fc359.tar.bz2
[3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25451)
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>. (cherry picked from commit b467d9a24011992242c95d9157d3455f8a84466b) Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Lib/test/test_asyncio/utils.py')
-rw-r--r--Lib/test/test_asyncio/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/utils.py b/Lib/test/test_asyncio/utils.py
index 804db91..2570433 100644
--- a/Lib/test/test_asyncio/utils.py
+++ b/Lib/test/test_asyncio/utils.py
@@ -58,7 +58,7 @@ PEERCERT = {
'issuer': ((('countryName', 'XY'),),
(('organizationName', 'Python Software Foundation CA'),),
(('commonName', 'our-ca-server'),)),
- 'notAfter': 'Jul 7 14:23:16 2028 GMT',
+ 'notAfter': 'Oct 28 14:23:16 2037 GMT',
'notBefore': 'Aug 29 14:23:16 2018 GMT',
'serialNumber': 'CB2D80995A69525C',
'subject': ((('countryName', 'XY'),),