forked from mirrors/akkoma
use tls1.3
This commit is contained in:
parent
6a19fbac2f
commit
f19c93cdaa
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ defmodule Pleroma.HTTP.AdapterHelper.Hackney do
|
||||||
end
|
end
|
||||||
|
|
||||||
defp add_scheme_opts(opts, %URI{scheme: "https"}) do
|
defp add_scheme_opts(opts, %URI{scheme: "https"}) do
|
||||||
Keyword.put(opts, :ssl_options, versions: [:"tlsv1.2", :"tlsv1.1", :tlsv1])
|
Keyword.put(opts, :ssl_options, versions: [:"tlsv1.3", :"tlsv1.2", :"tlsv1.1", :tlsv1])
|
||||||
end
|
end
|
||||||
|
|
||||||
defp add_scheme_opts(opts, _), do: opts
|
defp add_scheme_opts(opts, _), do: opts
|
||||||
|
|
Loading…
Reference in a new issue