File 0401-ssl-Fix-whitebox-test.patch of Package erlang
From 869033b2cc1b4868234486f7fb8badcbe42452b5 Mon Sep 17 00:00:00 2001
From: Ingela Anderton Andin <ingela@erlang.org>
Date: Fri, 25 Oct 2024 15:41:01 +0200
Subject: [PATCH] ssl: Fix whitebox test
---
lib/ssl/test/tls_api_SUITE.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ssl/test/tls_api_SUITE.erl b/lib/ssl/test/tls_api_SUITE.erl
index 7e4739375f..467a56871b 100644
--- a/lib/ssl/test/tls_api_SUITE.erl
+++ b/lib/ssl/test/tls_api_SUITE.erl
@@ -815,7 +815,7 @@ tls_sup_shutdown(Config) when is_list(Config) ->
{options, ServerOpts}]),
Port = ssl_test_lib:inet_port(Server),
- {_, #sslsocket{pid=[Pid|_]}} = ssl_test_lib:start_client([return_socket,
+ {_, #sslsocket{connection_handler = Pid}} = ssl_test_lib:start_client([return_socket,
{node, ClientNode}, {port, Port},
{host, Hostname},
{from, self()},
--
2.43.0