]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25452)
authorChristian Heimes <christian@python.org>
Sat, 17 Apr 2021 09:35:56 +0000 (11:35 +0200)
committerGitHub <noreply@github.com>
Sat, 17 Apr 2021 09:35:56 +0000 (11:35 +0200)
commitf77ca86f75d5ad9b52e5f3cd19c0024b204b168c
tree38c39deb828f1ca8bfac3757b1b7ad299958dcd9
parentd5b80eb11b4812b4a579ce129ba4a10c5f5d27f6
[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)
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