Fix SSL bug when {packet, line} and list are set

Thomas Lachmann <>
Wed Aug 18 21:05:29 CEST 2010


Hello,

these patches correct the behaviour of the new ssl implementation, if 
{packet, line} and mode list are set.
Previously the returned type was a binary.

The first patch changes the test ssl_packet_SUITE:packet_line_decode
to check for both cases packet line combined with mode binary and packet
line combined with mode list.

The second patch corrects the error.

I suspect the packet formats asn1, cdr, sunrm, fcgi and tpkt to suffer
the same problem. But as I don't know these formats, I don't know if
there are reasonable representations of them as lists.

The patches are available here:

git fetch :thlachmann/otp.git
ssl_fix_packet_line_mode_list


Thomas


More information about the erlang-patches mailing list