File 1229-inets-Fix-missed-testcas-for-new-TLS-default-value.patch of Package erlang

From 4bb4b25d808a6d7ba27772ef5fd983a48df340e1 Mon Sep 17 00:00:00 2001
From: Ingela Anderton Andin <ingela@erlang.org>
Date: Tue, 28 Mar 2023 17:21:55 +0200
Subject: [PATCH] inets: Fix missed testcas for new TLS default value

---
 lib/inets/test/httpd_SUITE.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/inets/test/httpd_SUITE.erl b/lib/inets/test/httpd_SUITE.erl
index 46a11c7eaa..b773459b95 100644
--- a/lib/inets/test/httpd_SUITE.erl
+++ b/lib/inets/test/httpd_SUITE.erl
@@ -1351,7 +1351,7 @@ ignore_invalid_header(Config) when is_list(Config) ->
             ssl ->
                 Conf = proplists:get_value(client_config, proplists:get_value(ssl_conf, Config)),
                 {"https://"  ++ Host ++  ":" ++ integer_to_list(Port) ++ "/cgi-bin/erl/httpd_example:ignore_invalid_header",
-                 [{"Host", "localhost"},{"Te", ""}, {"Content-Length ", "0"}], [{ssl, Conf}]}
+                 [{"Host", "localhost"},{"Te", ""}, {"Content-Length ", "0"}], [{ssl, [{verify, verify_none} | Conf]}]}
         end,
     {ok,{{_,204,_}, _, _}}
         = httpc:request(get, {Url, Header}, [{timeout, 45000} | Opts], [{headers_as_is, true}]).
-- 
2.35.3

openSUSE Build Service is sponsored by