summaryrefslogtreecommitdiff
path: root/tests/test_ssl.py
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2014-01-06 22:43:34 +0100
committerMatěj Cepl <mcepl@cepl.eu>2015-11-18 17:37:32 +0100
commit02216b5dde835dee8abfead52688eb8736bc1e8b (patch)
treef4fa398bbfcf715fb80bd3189f6c7013a5874bf6 /tests/test_ssl.py
parent84bf9d69f3ca925c52d9ac5c8004c8a0e5d2f3bc (diff)
downloadm2crypto-02216b5dde835dee8abfead52688eb8736bc1e8b.tar.gz
Most likely Fedora-only ... don't test export ciphers.
mitr: Doesn’t OpenSSL disable them by default nowadays? Not sure. mcepl: Well, the question is for how old OpenSSL we want to develop this. Some patches are originally from RHEL-5 … mitr: It’s the other way around: the more versions we want to support, the more tests we need to disable (or, better, autodetect the precise support level, without relying on M2Crypto code, if possible). Blocked by #48
Diffstat (limited to 'tests/test_ssl.py')
-rw-r--r--tests/test_ssl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_ssl.py b/tests/test_ssl.py
index 8a95e6e..fb32cec 100644
--- a/tests/test_ssl.py
+++ b/tests/test_ssl.py
@@ -477,6 +477,8 @@ class MiscSSLClientTestCase(BaseSSLClientTestCase):
# TLS is required in FIPS mode
@unittest.skipIf(fips_mode, "Can't be run in FIPS mode")
@unittest.skipIf(plat_debian, "Debian distros don't allow weak ciphers")
+ @unittest.skipIf(plat_fedora,
+ "Export ciphers are prohibited in recent Fedora releases")
def test_use_weak_cipher(self):
self.args = self.args + ['-cipher', 'EXP']
pid = self.start_server(self.args)