Fix clienthellotest for new TLSv1.3 ciphersuite configuration
[openssl.git] / 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;