Enhance ssltestlib's create_ssl_ctx_pair to take min and max proto version
[openssl.git] / test / tls13ccstest.c
index afea0ea58d94e889dc94d73638cd3e846ef8c3c6..41e4896fa9852a7f12a4b0f3d61f723abfbb35e2 100644 (file)
@@ -255,6 +255,7 @@ static int test_tls13ccs(int tst)
     chsessidlen = 0;
 
     if (!TEST_true(create_ssl_ctx_pair(TLS_server_method(), TLS_client_method(),
+                                       TLS1_VERSION, TLS_MAX_VERSION,
                                        &sctx, &cctx, cert, privkey))
         || !TEST_true(SSL_CTX_set_max_early_data(sctx,
                                                  SSL3_RT_MAX_PLAIN_LENGTH))