diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2022-03-13 19:52:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 07:52:26 +0800 |
commit | e6fd19aa2f977aa5a32f03c512682b8fb38cae9e (patch) | |
tree | 91ce18926f6226635a1b05a7993df63a639a7175 /tests/test_ssl.py | |
parent | 382e5e04410b8f07383b5fc5244a2d93b07b0baf (diff) | |
download | pyopenssl-git-e6fd19aa2f977aa5a32f03c512682b8fb38cae9e.tar.gz |
Implement Context constructor in terms of new OpenSSL APIs (#1109)
Diffstat (limited to 'tests/test_ssl.py')
-rw-r--r-- | tests/test_ssl.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_ssl.py b/tests/test_ssl.py index 63f5147..a02dc4b 100644 --- a/tests/test_ssl.py +++ b/tests/test_ssl.py @@ -93,8 +93,6 @@ from OpenSSL.SSL import ( SSL_ST_MASK, SSLeay_version, SSLv23_METHOD, - SSLv2_METHOD, - SSLv3_METHOD, Session, SysCallError, TLS1_1_VERSION, @@ -591,7 +589,7 @@ class TestContext: for meth in methods: Context(meth) - maybe = [SSLv2_METHOD, SSLv3_METHOD, TLSv1_1_METHOD, TLSv1_2_METHOD] + maybe = [TLSv1_1_METHOD, TLSv1_2_METHOD] for meth in maybe: try: Context(meth) |