diff options
author | Ingela Anderton Andin <[email protected]> | 2013-01-25 10:44:50 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2013-01-25 10:44:50 +0100 |
commit | ded09e07cdc5f899d4f550c62ad5dfe04aa32403 (patch) | |
tree | 75ffdf8e77415ff0eb6a545b13df60ccd398b6ee /lib/ssl/src/ssl_manager.erl | |
parent | 22df26ed06c0b35fab59005764e46fc0a8c5b13a (diff) | |
parent | 139f5c6aaae6c4f699ed883840c6875c05177d52 (diff) | |
download | otp-ded09e07cdc5f899d4f550c62ad5dfe04aa32403.tar.gz otp-ded09e07cdc5f899d4f550c62ad5dfe04aa32403.tar.bz2 otp-ded09e07cdc5f899d4f550c62ad5dfe04aa32403.zip |
Merge branch 'ia/ssl/dialyzer'
* ia/ssl/dialyzer:
ssl: Enhance dialyzer specs
ssl: Do not return random values
ssl: M-x erlang-indent-buffer
ssl: Remove unnecessary construction of a return value
Diffstat (limited to 'lib/ssl/src/ssl_manager.erl')
-rw-r--r-- | lib/ssl/src/ssl_manager.erl | 7 |
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 |