diff options
author | Alex S <alex.strizhakov@gmail.com> | 2019-08-16 20:07:08 +0300 |
---|---|---|
committer | Alex S <alex.strizhakov@gmail.com> | 2019-08-20 12:41:45 +0300 |
commit | 4a4a61f4ceac98fde293130f0ac4db164ccd8251 (patch) | |
tree | 19a976bd7d3742c246d1b80897675d8500c75660 | |
parent | 6e1408d05ac5d28123b3d62ff555df7fd118f61f (diff) | |
download | pleroma-4a4a61f4ceac98fde293130f0ac4db164ccd8251.tar.gz |
like this
-rw-r--r-- | lib/pleroma/http/http.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/http/http.ex b/lib/pleroma/http/http.ex index 9339532af..b6e338aab 100644 --- a/lib/pleroma/http/http.ex +++ b/lib/pleroma/http/http.ex @@ -90,7 +90,7 @@ defmodule Pleroma.HTTP do tls_opts = Keyword.get(options, :tls_opts, []) |> Keyword.put(:server_name_indication, host) - |> Keyword.put(:versions, ['tlsv1.2', 'tlsv1.1', 'tlsv1']) + |> Keyword.put(:versions, [:tlsv1, :"tlsv1.1", :"tlsv1.2"]) Keyword.put(options, :tls_opts, tls_opts) ++ [ssl: [server_name_indication: host]] |