aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_manager.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2010-09-15 14:34:58 +0200
committerIngela Anderton Andin <[email protected]>2010-09-15 14:34:58 +0200
commit6a933540f24e76c05cc652acbf2aa92b9ab76d58 (patch)
tree09109c4569002173d90faf5134bf3f9e9a0ed174 /lib/ssl/src/ssl_manager.erl
parent3f336f1b6f2854618146e882b04e8cbc50d1111e (diff)
downloadotp-6a933540f24e76c05cc652acbf2aa92b9ab76d58.tar.gz
otp-6a933540f24e76c05cc652acbf2aa92b9ab76d58.tar.bz2
otp-6a933540f24e76c05cc652acbf2aa92b9ab76d58.zip
Corrected and added dialyzer specs
Diffstat (limited to 'lib/ssl/src/ssl_manager.erl')
-rw-r--r--lib/ssl/src/ssl_manager.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl_manager.erl b/lib/ssl/src/ssl_manager.erl
index 0116466677..3b02d96562 100644
--- a/lib/ssl/src/ssl_manager.erl
+++ b/lib/ssl/src/ssl_manager.erl
@@ -122,6 +122,7 @@ server_session_id(Port, SuggestedSessionId, SslOpts) ->
call({server_session_id, Port, SuggestedSessionId, SslOpts}).
%%--------------------------------------------------------------------
+-spec register_session(port_num(), #session{}) -> ok.
-spec register_session(host(), port_num(), #session{}) -> ok.
%%
%% Description: Make the session available for reuse.
@@ -132,6 +133,7 @@ register_session(Host, Port, Session) ->
register_session(Port, Session) ->
cast({register_session, Port, Session}).
%%--------------------------------------------------------------------
+-spec invalidate_session(port_num(), #session{}) -> ok.
-spec invalidate_session(host(), port_num(), #session{}) -> ok.
%%
%% Description: Make the session unavilable for reuse.