[erlang-bugs] SSL sslv3 not working as expected?

Loïc Hoguin <>
Thu Feb 6 17:08:46 CET 2014


Hello,

While trying to debug a separate SSL issue I added {versions, [sslv3]} 
to the listen call of the Cowboy test suite. This made everything break 
with huge error reports and the following stack trace:

** Reason for termination =
** {{case_clause,{4}},
     [{ssl_v3,mac_hash,3,[{file,"ssl_v3.erl"},{line,163}]},
      {tls_record,encode_plain_text,4,[{file,"tls_record.erl"},{line,134}]},
      {tls_connection,encode_handshake,4,
                      [{file,"tls_connection.erl"},{line,362}]},
      {tls_connection,send_handshake,2,
                      [{file,"tls_connection.erl"},{line,108}]},
      {ssl_connection,client_certify_and_key_exchange,2,
                      [{file,"ssl_connection.erl"},{line,1038}]},
 
{tls_connection,next_state,4,[{file,"tls_connection.erl"},{line,458}]},
      {gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},
      {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}

It pretty much does that for every test. I'm guessing this is not intended.

Does it with R16B02 and master from yesterday.

Enjoy,

-- 
Loïc Hoguin
http://ninenines.eu


More information about the erlang-bugs mailing list