Blame SOURCES/m2crypto-0.21.1-ssl23.patch

90fa17
Index: tests/test_ssl.py
90fa17
===================================================================
90fa17
--- tests/test_ssl.py	(revision 739)
90fa17
+++ tests/test_ssl.py	(working copy)
90fa17
@@ -376,7 +376,7 @@
90fa17
     def test_sslv23_no_v2(self):
90fa17
         if fips_mode: # TLS is required in FIPS mode
90fa17
             return
90fa17
-        self.args.append('-no_tls1')
90fa17
+        self.args.append('-ssl3')
90fa17
         pid = self.start_server(self.args)
90fa17
         try:
90fa17
             ctx = SSL.Context('sslv23')
90fa17
@@ -390,7 +390,7 @@
90fa17
     def test_sslv23_no_v2_no_service(self):
90fa17
         if fips_mode: # TLS is required in FIPS mode
90fa17
             return
90fa17
-        self.args = self.args + ['-no_tls1', '-no_ssl3']
90fa17
+        self.args = self.args + ['-ssl2']
90fa17
         pid = self.start_server(self.args)
90fa17
         try:
90fa17
             ctx = SSL.Context('sslv23')
90fa17
@@ -403,7 +403,7 @@
90fa17
     def test_sslv23_weak_crypto(self):
90fa17
         if fips_mode: # TLS is required in FIPS mode
90fa17
             return
90fa17
-        self.args = self.args + ['-no_tls1', '-no_ssl3']
90fa17
+        self.args = self.args + ['-ssl2']
90fa17
         pid = self.start_server(self.args)
90fa17
         try:
90fa17
             ctx = SSL.Context('sslv23', weak_crypto=1)