summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Paul Calderone <jean-paul@clusterhq.com>2014-11-17 09:09:23 -0500
committerJean-Paul Calderone <jean-paul@clusterhq.com>2014-11-17 09:09:23 -0500
commit7b31baf7d362a095951e733b38b36fbd07e6d8bd (patch)
treec3168af9ceb086851c73c06144315f948c9a17df
parent27398343217703c5261e67d6c19dda89ba559f1b (diff)
parentb586da331b82a4f50fe78138a40fe61a143cea8d (diff)
downloadpyopenssl-7b31baf7d362a095951e733b38b36fbd07e6d8bd.tar.gz
Merge pull request #173 from alex/no-more-v3
verisign.org turned off SSLv3 (Happy Days!). Change the test suite to use TLSv1 where it talks to verisign.org. This is a terrible test, of course. But at least this makes it a terrible passing test again.
-rw-r--r--OpenSSL/test/test_ssl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py
index 6409b8e..44980d5 100644
--- a/OpenSSL/test/test_ssl.py
+++ b/OpenSSL/test/test_ssl.py
@@ -938,8 +938,8 @@ class ContextTests(TestCase, _LoopbackMixin):
# in a unit test is bad, but it's the only way I can think of to
# really test this. -exarkun
- # Arg, verisign.com doesn't speak TLSv1
- context = Context(SSLv3_METHOD)
+ # Arg, verisign.com doesn't speak anything newer than TLS 1.0
+ context = Context(TLSv1_METHOD)
context.set_default_verify_paths()
context.set_verify(
VERIFY_PEER,