Skip to content

Socket.SSL no longer work with recent Erlang #107

Description

@bortzmeyer
% elixir --version
Erlang/OTP 25 [erts-13.1.5] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit]

Elixir 1.14.3 (compiled with Erlang/OTP 25)

Trying to compile:

warning: :ssl.cipher_suites/0 is undefined or private, use cipher_suites/2,3 instead
  lib/socket/ssl.ex:55: Socket.SSL.ciphers/0

warning: :ssl.ssl_accept/2 is undefined or private, use ssl_handshake/1,2,3 instead
  lib/socket/ssl.ex:272: Socket.SSL.handshake/2

warning: :ssl.ssl_accept/3 is undefined or private, use ssl_handshake/1,2,3 instead
  lib/socket/ssl.ex:252: Socket.SSL.accept/2

When running:

** (UndefinedFunctionError) function :ssl.ssl_accept/2 is undefined or private, use ssl_handshake/1,2,3 instead
    (ssl 10.8.7) :ssl.ssl_accept({:sslsocket, {:gen_tcp, #Port<0.6>, :tls_connection, [option_tracker: #PID<0.354.0>, session_tickets_tracker: :disabled, session_id_tracker: #PID<0.355.0>]}, [#PID<0.358.0>, #PID<0.357.0>]}, :infinity)
    (socket 0.3.13) lib/socket/ssl.ex:239: Socket.SSL.accept/2
    echo-server.exs:19: Echo.loop_acceptor/1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions