]> granicus.if.org Git - python/commit
bpo-32008: don't use PROTOCOL_TLSv1 in example (GH-5789)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 21 Feb 2018 06:07:17 +0000 (22:07 -0800)
committerGitHub <noreply@github.com>
Wed, 21 Feb 2018 06:07:17 +0000 (22:07 -0800)
commitf8a794c04c8d375da279fc830770a5e6b4f363fb
treea60bf8369333bda32476d785f6aa56f8cc345a02
parent0150dc589439a9a78c80c2aa8d7d6c5d3bba1d6d
bpo-32008: don't use PROTOCOL_TLSv1 in example (GH-5789)

It's bad form to pin to an old version of TLS. ssl.SSLContext has the right
protocol default, so let's not pass anyway.
(cherry picked from commit e9edee0b65650c4f9db90cefc2e9a8125bad762c)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
Doc/library/ssl.rst