summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2022-03-13 19:52:26 -0400
committerGitHub <noreply@github.com>2022-03-14 07:52:26 +0800
commite6fd19aa2f977aa5a32f03c512682b8fb38cae9e (patch)
tree91ce18926f6226635a1b05a7993df63a639a7175 /tests
parent382e5e04410b8f07383b5fc5244a2d93b07b0baf (diff)
downloadpyopenssl-e6fd19aa2f977aa5a32f03c512682b8fb38cae9e.tar.gz
Implement Context constructor in terms of new OpenSSL APIs (#1109)
Diffstat (limited to 'tests')
-rw-r--r--tests/test_ssl.py4
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)