summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>2019-03-02 17:08:39 +0100
committerMatěj Cepl <mcepl@cepl.eu>2019-03-07 13:53:52 +0100
commit0a5a3569346c58af69a12a9c91656bdc8da1b7b4 (patch)
treed49aeb2ea9dd49d80cd2d02a76451746533a18ed /tests
parent8a0a3e3cb37c83e9e4362dda60779fbe5f83fb5a (diff)
downloadm2crypto-0a5a3569346c58af69a12a9c91656bdc8da1b7b4.tar.gz
tests/test_ssl: use -ciphercuites for TLS1.3 cipher in openssl1.1
The -cipher can not be used in OpenSSL 1.1.b+ for TLS1.3 cipher since openssl upstream commit 1c31fe7eb093a ("Ignore cipher suites when setting cipher list"). Use -ciphersuites for TLS1.3 cipher as documented. Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Fixes #251
Diffstat (limited to 'tests')
-rw-r--r--tests/test_ssl.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_ssl.py b/tests/test_ssl.py
index a3e2a31..925d365 100644
--- a/tests/test_ssl.py
+++ b/tests/test_ssl.py
@@ -460,9 +460,10 @@ class MiscSSLClientTestCase(BaseSSLClientTestCase):
def test_cipher_ok(self):
if OPENSSL111:
TCIPHER = 'TLS_AES_256_GCM_SHA384'
+ self.args = self.args + ['-ciphersuites', TCIPHER]
else:
TCIPHER = 'AES128-SHA'
- self.args = self.args + ['-cipher', TCIPHER]
+ self.args = self.args + ['-cipher', TCIPHER]
pid = self.start_server(self.args)
try: