Skip to content

Commit

Permalink
Remove Application.ensure_all_started(:ssl)
Browse files Browse the repository at this point in the history
We already have `:ssl` in `:extra_applications`.
  • Loading branch information
wojtekmach committed Jul 1, 2024
1 parent 50bf21c commit 4fdfeed
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/tds/protocol.ex
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,6 @@ defmodule Tds.Protocol do
end

defp ssl_connect(%{sock: {:gen_tcp, sock}, opts: opts} = s) do
{:ok, _} = Application.ensure_all_started(:ssl)

case Tds.Tls.connect(sock, opts[:ssl_opts] || []) do
{:ok, ssl_sock} ->
state = %{s | sock: {:ssl, ssl_sock}}
Expand Down

0 comments on commit 4fdfeed

Please sign in to comment.