diff options
author | Alex S <alex.strizhakov@gmail.com> | 2019-08-16 20:07:08 +0300 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2019-08-18 22:34:14 +0000 |
commit | 2370394a4e90e2e728e847a06de47aae8812a888 (patch) | |
tree | 7168db9303396838d7d694311a285872787739e5 /lib | |
parent | a6101f0991f63b82951853c56b43f0b6383cdaf9 (diff) | |
download | pleroma-2370394a4e90e2e728e847a06de47aae8812a888.tar.gz |
like this
Diffstat (limited to 'lib')
-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]] |