File 0904-ssl-Restore-order-of-ssloptions.patch of Package erlang
From 37cbbaccc522de1912c95730ad2a7ca90831df46 Mon Sep 17 00:00:00 2001
From: Ingela Anderton Andin <ingela@erlang.org>
Date: Tue, 16 Mar 2021 11:43:46 +0100
Subject: [PATCH 1/2] ssl: Restore order of ssloptions
---
lib/ssl/src/ssl.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl
index 72f13ca223..ab5a311ccb 100644
--- a/lib/ssl/src/ssl.erl
+++ b/lib/ssl/src/ssl.erl
@@ -2798,7 +2798,7 @@ binary_filename(FileName) ->
%% Assert that basic options are on the format {Key, Value}
%% with a few exceptions and phase out log_alert
handle_option_format([], Acc) ->
- Acc;
+ lists:reverse(Acc);
handle_option_format([{log_alert, Bool} | Rest], Acc) when is_boolean(Bool) ->
case proplists:get_value(log_level, Acc ++ Rest, undefined) of
undefined ->
--
2.26.2