1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 02:49:18 +00:00

use tls1.3

This commit is contained in:
FloatingGhost 2022-06-07 12:24:40 +01:00
parent 6a19fbac2f
commit f19c93cdaa

View file

@ -25,7 +25,7 @@ def options(connection_opts \\ [], %URI{} = uri) do
end
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
defp add_scheme_opts(opts, _), do: opts