aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2012-12-13 16:17:19 +0100
committerIngela Anderton Andin <[email protected]>2013-01-23 19:45:10 +0100
commitc1793d4613bb41258b3660c88a42193eabe1d0bf (patch)
tree1c8ec4d0e57f6df7b014a2df2b8fe9b9bd0a2586 /lib
parente8028643ca411bae2075b5976e0c8129b1df2a4f (diff)
downloadotp-c1793d4613bb41258b3660c88a42193eabe1d0bf.tar.gz
otp-c1793d4613bb41258b3660c88a42193eabe1d0bf.tar.bz2
otp-c1793d4613bb41258b3660c88a42193eabe1d0bf.zip
ssl: Do not return random values
Diffstat (limited to 'lib')
-rw-r--r--lib/ssl/src/ssl_manager.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/ssl/src/ssl_manager.erl b/lib/ssl/src/ssl_manager.erl
index 14fba72d86..aa9da65bb8 100644
--- a/lib/ssl/src/ssl_manager.erl
+++ b/lib/ssl/src/ssl_manager.erl
@@ -143,13 +143,14 @@ new_session_id(Port) ->
call({new_session_id, Port}).
%%--------------------------------------------------------------------
--spec clean_cert_db(reference(), binary()) -> term().
+-spec clean_cert_db(reference(), binary()) -> ok.
%%
%% Description: Send clean request of cert db to ssl_manager process should
%% be called by ssl-connection processes.
%%--------------------------------------------------------------------
clean_cert_db(Ref, File) ->
- erlang:send_after(?CLEAN_CERT_DB, get(ssl_manager), {clean_cert_db, Ref, File}).
+ erlang:send_after(?CLEAN_CERT_DB, get(ssl_manager), {clean_cert_db, Ref, File}),
+ ok.
%%--------------------------------------------------------------------
-spec register_session(inet:port_number(), #session{}) -> ok.
@@ -344,7 +345,7 @@ handle_info(_Info, State) ->
{noreply, State}.
%%--------------------------------------------------------------------
--spec terminate(reason(), #state{}) -> term().
+-spec terminate(reason(), #state{}) -> ok.
%%
%% Description: This function is called by a gen_server when it is about to
%% terminate. It should be the opposite of Module:init/1 and do any necessary