diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2016-09-10 14:50:11 -0400 |
---|---|---|
committer | Hynek Schlawack <hs@ox.cx> | 2016-09-10 20:50:11 +0200 |
commit | 51d424c399df88f68c2fb9a389843f9f847f2956 (patch) | |
tree | b1978b6e7c02b6526fea9ae53cd222f6813dc25e /tests/test_ssl.py | |
parent | 316aa2c686bb50ad184c97ebfc0e1a1c6e70c2bf (diff) | |
download | pyopenssl-51d424c399df88f68c2fb9a389843f9f847f2956.tar.gz |
Don't use SSLv3 (#534)
Diffstat (limited to 'tests/test_ssl.py')
-rw-r--r-- | tests/test_ssl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ssl.py b/tests/test_ssl.py index 877edcb..ac57280 100644 --- a/tests/test_ssl.py +++ b/tests/test_ssl.py @@ -3490,7 +3490,7 @@ class MemoryBIOTests(TestCase, _LoopbackMixin): :py:obj:`OpenSSL.SSL.bio_write` don't work on :py:obj:`OpenSSL.SSL.Connection`() that use sockets. """ - context = Context(SSLv3_METHOD) + context = Context(TLSv1_METHOD) client = socket() clientSSL = Connection(context, client) self.assertRaises(TypeError, clientSSL.bio_read, 100) |