summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngela Anderton Andin <ingela@erlang.org>2021-03-16 11:43:46 +0100
committerDan Gudmundsson <dgud@erlang.org>2021-04-07 11:45:52 +0200
commit0a188d63f85d1f6ccf66891adba6cf16ccc00222 (patch)
treebaed7fa54d6060de9e59238f6dac72215917c031
parent2fdabaac8e16fc7d4d49ca1b861fd32f313e87da (diff)
downloaderlang-0a188d63f85d1f6ccf66891adba6cf16ccc00222.tar.gz
ssl: Restore order of ssloptions
-rw-r--r--lib/ssl/src/ssl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl
index 18930ec11f..5e10e254c4 100644
--- a/lib/ssl/src/ssl.erl
+++ b/lib/ssl/src/ssl.erl
@@ -2712,7 +2712,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 ->