]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899)
authorChristian Heimes <christian@python.org>
Sat, 17 Apr 2021 08:07:19 +0000 (10:07 +0200)
committerGitHub <noreply@github.com>
Sat, 17 Apr 2021 08:07:19 +0000 (10:07 +0200)
commitb467d9a24011992242c95d9157d3455f8a84466b
treeef3a885c3c2384130cc3873e9b14c744b6fd19d2
parentcfaa2d338bd72af63a35a424515b47a183cefc14
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>
18 files changed:
Doc/library/ssl.rst
Lib/test/allsans.pem
Lib/test/capath/b1930218.0
Lib/test/capath/ceff1710.0
Lib/test/idnsans.pem
Lib/test/keycert2.pem
Lib/test/keycert3.pem
Lib/test/keycert4.pem
Lib/test/keycertecc.pem
Lib/test/make_ssl_certs.py
Lib/test/nosan.pem [new file with mode: 0644]
Lib/test/pycacert.pem
Lib/test/pycakey.pem
Lib/test/revocation.crl
Lib/test/test_asyncio/utils.py
Lib/test/test_ssl.py
Misc/NEWS.d/next/Library/2021-03-16-22-37-32.bpo-43522.dhNwOu.rst [new file with mode: 0644]
Modules/_ssl.c