aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/backends
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2018-08-12 15:48:24 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2018-08-12 14:48:24 -0500
commit525b6547e918e12c45119685d2e208aa0e51c4c9 (patch)
treea39c35927e7345f38321bc317767540b95d36acf /tests/hazmat/backends
parent747e2e98e9b8fd56c1564ba11bce69ae068c02ea (diff)
downloadcryptography-525b6547e918e12c45119685d2e208aa0e51c4c9.tar.gz
cryptography-525b6547e918e12c45119685d2e208aa0e51c4c9.tar.bz2
cryptography-525b6547e918e12c45119685d2e208aa0e51c4c9.zip
Fixed #4380 -- do not assume TLSv1 is available in OpenSSL (#4389)
* Fixed #4380 -- do not assume TLSv1 is available in OpenSSL Hallelujah! It's starting to become the case that some OpenSSLs are disabling it. * cover this file as well
Diffstat (limited to 'tests/hazmat/backends')
-rw-r--r--tests/hazmat/backends/test_openssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py
index 31b34cd0..e77f5dc3 100644
--- a/tests/hazmat/backends/test_openssl.py
+++ b/tests/hazmat/backends/test_openssl.py
@@ -115,7 +115,7 @@ class TestOpenSSL(object):
assert len(errors) == 10
def test_ssl_ciphers_registered(self):
- meth = backend._lib.TLSv1_method()
+ meth = backend._lib.SSLv23_method()
ctx = backend._lib.SSL_CTX_new(meth)
assert ctx != backend._ffi.NULL
backend._lib.SSL_CTX_free(ctx)