Use (D)TLS_MAX_VERSION_INTERNAL internally
[oweals/openssl.git] / test / servername_test.c
index bad29ec99c7591216d207127e6cbf6f9c7e60fbd..0614d4bf8cc4710c0dace28c7e37fd0426380f02 100644 (file)
@@ -186,7 +186,7 @@ static int server_setup_sni(void)
 
     if (!TEST_true(create_ssl_ctx_pair(TLS_server_method(),
                                        TLS_client_method(),
-                                       TLS1_VERSION, TLS_MAX_VERSION,
+                                       TLS1_VERSION, 0,
                                        &sctx, &cctx, cert, privkey))
             || !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
                                              NULL, NULL)))