summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2013-11-22 21:36:17 +0200
committerMatěj Cepl <mcepl@cepl.eu>2015-10-13 15:23:20 +0200
commitd78d60f33e012ae2e3ee7a04a6bcb494bb72ee6b (patch)
tree5170ffedce2cf83b0fb41f6b1602c26583c59fd7
parent49a12e807cea4b79e92820fdac276c4662b08149 (diff)
downloadm2crypto-d78d60f33e012ae2e3ee7a04a6bcb494bb72ee6b.tar.gz
Use correct syntax for testing SSLv2
Original "-no_tls1 -no_ssl3" was meant as a synonym for SSLv2. However, with the progressing deterioration of old SSL versions, this could actually end with something else. So, we ask specifically for SSLv2 when we want it. See https://bugzilla.redhat.com/show_bug.cgi?id=1004437 for more information on the issue.
-rw-r--r--tests/test_ssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ssl.py b/tests/test_ssl.py
index d0439d6..b64f011 100644
--- a/tests/test_ssl.py
+++ b/tests/test_ssl.py
@@ -408,7 +408,7 @@ class MiscSSLClientTestCase(BaseSSLClientTestCase):
def test_sslv23_weak_crypto(self):
if fips_mode: # TLS is required in FIPS mode
return
- self.args = self.args + ['-no_tls1', '-no_ssl3']
+ self.args = self.args + ['-ssl2']
pid = self.start_server(self.args)
try:
ctx = SSL.Context('sslv23', weak_crypto=1)