summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-11-21 23:39:38 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-11-21 23:39:38 (GMT)
commitd6dc952e17d11aace7bb9890bb2a2194308d8e4f (patch)
treed6e6241d4e187d994f2b9f97dac089ec5e32e582 /Lib
parent1dbf61fa46d9b0c6a95096ed24638217951ff8b9 (diff)
downloadcpython-d6dc952e17d11aace7bb9890bb2a2194308d8e4f.zip
cpython-d6dc952e17d11aace7bb9890bb2a2194308d8e4f.tar.gz
cpython-d6dc952e17d11aace7bb9890bb2a2194308d8e4f.tar.bz2
one CERT_REQUIRED is enough
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_ssl.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index 2da1386..9996ff1 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -1801,7 +1801,6 @@ else:
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
context.verify_mode = ssl.CERT_REQUIRED
context.load_verify_locations(SIGNING_CA)
- context.verify_mode = ssl.CERT_REQUIRED
context.verify_flags = ssl.VERIFY_DEFAULT
# VERIFY_DEFAULT should pass