]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix clienthellotest for new TLSv1.3 ciphersuite configuration
authorMatt Caswell <matt@openssl.org>
Mon, 12 Mar 2018 10:48:32 +0000 (10:48 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 14 Mar 2018 10:15:50 +0000 (10:15 +0000)
A place in clienthellotest was missed in converting to the new mechanism
for configuration of TLSv1.3 ciphersuites.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5392)

test/clienthellotest.c

index 45595d393ae8b005ff7053d2b2c9daecac46043f..5eded83bda1ce8152f792edc0e55f027145db5f2 100644 (file)
@@ -120,7 +120,9 @@ static int test_client_hello(int currtest)
          * not need padding.
          */
         } else if (!TEST_true(SSL_CTX_set_cipher_list(ctx,
-                              "AES128-SHA:TLS13-AES-128-GCM-SHA256"))) {
+                              "AES128-SHA"))
+                   || !TEST_true(SSL_CTX_set_ciphersuites(ctx,
+                                 "TLS_AES_128_GCM_SHA256"))) {
             goto end;
         }
         break;