diff options
author | Christian Heimes <christian@python.org> | 2017-09-15 18:29:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-15 18:29:57 (GMT) |
commit | e82c034496512139e9ea3f68ceda86c04bc7baab (patch) | |
tree | 1fab1d26c6edba33d400598e705dd7269cf77e12 /Misc | |
parent | a170fa162dc03f0a014373349e548954fff2e567 (diff) | |
download | cpython-e82c034496512139e9ea3f68ceda86c04bc7baab.zip cpython-e82c034496512139e9ea3f68ceda86c04bc7baab.tar.gz cpython-e82c034496512139e9ea3f68ceda86c04bc7baab.tar.bz2 |
bpo-31431: SSLContext.check_hostname auto-sets CERT_REQUIRED (#3531)
Signed-off-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2017-09-13-07-37-20.bpo-31431.dj994R.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-09-13-07-37-20.bpo-31431.dj994R.rst b/Misc/NEWS.d/next/Library/2017-09-13-07-37-20.bpo-31431.dj994R.rst new file mode 100644 index 0000000..6083fd6 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2017-09-13-07-37-20.bpo-31431.dj994R.rst @@ -0,0 +1,2 @@ +SSLContext.check_hostname now automatically sets SSLContext.verify_mode to +ssl.CERT_REQUIRED instead of failing with a ValueError. |