aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test/ssl_test_lib.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2011-11-28 12:32:10 +0100
committerIngela Anderton Andin <[email protected]>2011-11-28 12:32:10 +0100
commit4fee3925d969a42088af74dd02a791bb8e27fd9b (patch)
treeac4d183008552399237791ec6775e6da4697cd68 /lib/ssl/test/ssl_test_lib.erl
parent2476bd42354b28a795a2b66401ca448d4f2b4ba0 (diff)
parent3fa6cba1cf509fbfc3ebbdd5bdb6ead153e5633b (diff)
downloadotp-4fee3925d969a42088af74dd02a791bb8e27fd9b.tar.gz
otp-4fee3925d969a42088af74dd02a791bb8e27fd9b.tar.bz2
otp-4fee3925d969a42088af74dd02a791bb8e27fd9b.zip
Merge branch 'ia/ssl/tcp-error-handling/OTP-9734'
* ia/ssl/tcp-error-handling/OTP-9734: Send ssl_closed notification to active ssl user when a tcp error occurs
Diffstat (limited to 'lib/ssl/test/ssl_test_lib.erl')
-rw-r--r--lib/ssl/test/ssl_test_lib.erl8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/ssl/test/ssl_test_lib.erl b/lib/ssl/test/ssl_test_lib.erl
index 019ea61f37..e0a16fc04a 100644
--- a/lib/ssl/test/ssl_test_lib.erl
+++ b/lib/ssl/test/ssl_test_lib.erl
@@ -691,7 +691,6 @@ public_key(#'PrivateKeyInfo'{privateKeyAlgorithm =
public_key(Key) ->
Key.
-
receive_rizzo_duong_beast() ->
receive
{ssl, _, "ello\n"} ->
@@ -703,3 +702,10 @@ receive_rizzo_duong_beast() ->
end
end
end.
+
+state([{data,[{"State", State}]} | _]) ->
+ State;
+state([{data,[{"StateData", State}]} | _]) ->
+ State;
+state([_ | Rest]) ->
+ state(Rest).