summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio
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 /Lib/test/test_asyncio
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 'Lib/test/test_asyncio')
-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 67180f7..0032c9a 100644
--- a/Lib/test/test_asyncio/utils.py
+++ b/Lib/test/test_asyncio/utils.py
@@ -59,7 +59,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'),),