aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2014-05-26 15:42:32 +0200
committerIngela Anderton Andin <[email protected]>2014-05-27 09:57:40 +0200
commit84e838eb0c83a5cee16bb3b2ff8b6a3a8d6306d4 (patch)
tree9ab45234274d5d149c070f65875511ccdae4214b /lib/ssl/src/tls_connection.erl
parent4c74437b2318d40dceabb4e9a02117d2cabf25fc (diff)
downloadotp-84e838eb0c83a5cee16bb3b2ff8b6a3a8d6306d4.tar.gz
otp-84e838eb0c83a5cee16bb3b2ff8b6a3a8d6306d4.tar.bz2
otp-84e838eb0c83a5cee16bb3b2ff8b6a3a8d6306d4.zip
ssl: Add format_status function to ssl connection process
Diffstat (limited to 'lib/ssl/src/tls_connection.erl')
-rw-r--r--lib/ssl/src/tls_connection.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_connection.erl b/lib/ssl/src/tls_connection.erl
index 9f5d4ca4fb..3b89cf7b71 100644
--- a/lib/ssl/src/tls_connection.erl
+++ b/lib/ssl/src/tls_connection.erl
@@ -66,7 +66,7 @@
%% gen_fsm callbacks
-export([init/1, hello/2, certify/2, cipher/2,
abbreviated/2, connection/2, handle_event/3,
- handle_sync_event/4, handle_info/3, terminate/3, code_change/4]).
+ handle_sync_event/4, handle_info/3, terminate/3, code_change/4, format_status/2]).
%%====================================================================
%% Internal application API
@@ -332,6 +332,9 @@ terminate(Reason, StateName, State) ->
code_change(_OldVsn, StateName, State, _Extra) ->
{ok, StateName, State}.
+format_status(Type, Data) ->
+ ssl_connection:format_status(Type, Data).
+
%%--------------------------------------------------------------------
%%% Internal functions
%%--------------------------------------------------------------------