$FreeBSD: head/lang/erlang/files/patch-lib_ssl_src_ssl__handshake.erl 370521 2014-10-09 12:50:54Z olgeni $ --- lib/ssl/src/ssl_handshake.erl.orig +++ lib/ssl/src/ssl_handshake.erl @@ -1732,6 +1732,9 @@ #ec_point_formats{ec_point_format_list = ECPointFormats}}); +dec_hello_extensions(<>, Acc) when Len == 0 -> + dec_hello_extensions(Rest, Acc#hello_extensions{sni = ""}); %% Server may send an empy SNI + dec_hello_extensions(<>, Acc) -> <> = ExtData,