aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_session.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2011-09-05 10:26:29 +0200
committerIngela Anderton Andin <[email protected]>2011-09-05 10:26:29 +0200
commiteff93daf5f3f8d917414b89335ab4c8af5afe686 (patch)
treed15699586cd14c5dabbe2354bb9e5fa68ce0850c /lib/ssl/src/ssl_session.erl
parent6a113a60dba9fd6c4d736b9e56c52f3494a15027 (diff)
downloadotp-eff93daf5f3f8d917414b89335ab4c8af5afe686.tar.gz
otp-eff93daf5f3f8d917414b89335ab4c8af5afe686.tar.bz2
otp-eff93daf5f3f8d917414b89335ab4c8af5afe686.zip
Corrected spec name errors: ip_adress -> ip_address port_num -> port_number
Diffstat (limited to 'lib/ssl/src/ssl_session.erl')
-rw-r--r--lib/ssl/src/ssl_session.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_session.erl b/lib/ssl/src/ssl_session.erl
index a0643f616c..bf738649f6 100644
--- a/lib/ssl/src/ssl_session.erl
+++ b/lib/ssl/src/ssl_session.erl
@@ -48,7 +48,7 @@ is_new(_ClientSuggestion, _ServerDecision) ->
true.
%%--------------------------------------------------------------------
--spec id({host(), inet:port_num(), #ssl_options{}}, db_handle(), atom(),
+-spec id({host(), inet:port_number(), #ssl_options{}}, db_handle(), atom(),
undefined | binary()) -> binary().
%%
%% Description: Should be called by the client side to get an id
@@ -63,7 +63,7 @@ id(ClientInfo, Cache, CacheCb, OwnCert) ->
end.
%%--------------------------------------------------------------------
--spec id(inet:port_num(), binary(), #ssl_options{}, db_handle(),
+-spec id(inet:port_number(), binary(), #ssl_options{}, db_handle(),
atom(), seconds(), binary()) -> binary().
%%
%% Description: Should be called by the server side to get an id