mirror of
https://github.com/python/cpython.git
synced 2025-08-15 22:30:42 +00:00
[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 b467d9a240
)
Co-authored-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
e1903e11a3
commit
cdf0287979
18 changed files with 997 additions and 709 deletions
|
@ -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'),),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue