]> 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:02:18 +0000 (22:02 -0800)
committerGitHub <noreply@github.com>
Wed, 21 Feb 2018 06:02:18 +0000 (22:02 -0800)
commite5d38deb045d0907e6fcf82af8d2d8f0556a8591
tree5891f15adc3d03ef0845cbb65a3e09a4265cbd7a
parent7452f6d8fa3ffe5dab20f7e4244851a6eca397be
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