aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl
diff options
context:
space:
mode:
authorThomas Lachmann <[email protected]>2010-08-18 18:45:41 +0200
committerIngela Anderton Andin <[email protected]>2010-08-24 11:51:02 +0200
commitf2b1a0749f293f12b3be7d573b4fa8dbfcfdb932 (patch)
tree446ae96a58d93acd977f69a205aef0e1d46eb8d8 /lib/ssl
parent812a0bbde555b9f9aa670aca8aafe3892c9ebf96 (diff)
downloadotp-f2b1a0749f293f12b3be7d573b4fa8dbfcfdb932.tar.gz
otp-f2b1a0749f293f12b3be7d573b4fa8dbfcfdb932.tar.bz2
otp-f2b1a0749f293f12b3be7d573b4fa8dbfcfdb932.zip
Change packet_line_decode/1 to not only check binary mode
Diffstat (limited to 'lib/ssl')
-rw-r--r--lib/ssl/test/ssl_packet_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssl/test/ssl_packet_SUITE.erl b/lib/ssl/test/ssl_packet_SUITE.erl
index fac84a85cd..8e14d2d0c8 100644
--- a/lib/ssl/test/ssl_packet_SUITE.erl
+++ b/lib/ssl/test/ssl_packet_SUITE.erl
@@ -1724,7 +1724,7 @@ packet_line_decode(Config) when is_list(Config) ->
[Data]}},
{options, [{active, true},
{packet, line},
- binary | ClientOpts]}]),
+ list | ClientOpts]}]),
ssl_test_lib:check_result(Server, ok, Client, ok),
@@ -1748,11 +1748,11 @@ client_line_packet_decode(Socket, Lines) ->
ok = ssl:send(Socket, P1),
ok = ssl:send(Socket, P2),
receive
- {ssl, Socket, <<"Line ends here.\n">>} -> ok;
+ {ssl, Socket, "Line ends here.\n"} -> ok;
Other1 -> exit({?LINE, Other1})
end,
receive
- {ssl, Socket, <<"Now it is a new line.\n">>} -> ok;
+ {ssl, Socket, "Now it is a new line.\n"} -> ok;
Other2 -> exit({?LINE, Other2})
end.