File 4802-ssl-remove-not-needed-event-tls_sender.patch of Package erlang

From 4de1b507a0c28e172dc54e31d2a2cc3a6b011645 Mon Sep 17 00:00:00 2001
From: Jakub Witczak <kuba@erlang.org>
Date: Thu, 1 Dec 2022 18:08:03 +0100
Subject: [PATCH 2/2] ssl: remove not needed event tls_sender

---
 lib/ssl/src/tls_sender.erl | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/ssl/src/tls_sender.erl b/lib/ssl/src/tls_sender.erl
index 34835cba54..b53a801b90 100644
--- a/lib/ssl/src/tls_sender.erl
+++ b/lib/ssl/src/tls_sender.erl
@@ -498,7 +498,6 @@ send_application_data(Data, From, StateName,
         key_update ->
             KeyUpdate = tls_handshake_1_3:key_update(update_requested),
             {keep_state_and_data, [{next_event, internal, {post_handshake_data, From, KeyUpdate}},
-                                   {next_event, internal, {key_update, From}},
                                    {next_event, internal, {application_packets, From, Data}}]};
 	renegotiate ->
 	    tls_dtls_connection:internal_renegotiation(Pid, ConnectionStates0),
-- 
2.35.3

openSUSE Build Service is sponsored by