Fix a memory leak in the mem bio
[oweals/openssl.git] / test / recordlentest.c
index 5dc878b37756448b04be58e7d3956d4014725b9b..a73e4436845c9b39974b68273768bb891e73977f 100644 (file)
@@ -103,7 +103,7 @@ static int test_record_overflow(int idx)
     ERR_clear_error();
 
     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)))
         goto end;