From 4b0b4d1b8f61886182e93c546de59d08ff7b7caf Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Mon, 22 Aug 2011 16:59:36 +0200 Subject: Use inet and gen_* dialyzer specs --- lib/ssl/src/ssl_internal.hrl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/ssl/src/ssl_internal.hrl') diff --git a/lib/ssl/src/ssl_internal.hrl b/lib/ssl/src/ssl_internal.hrl index cc66246068..6bf1edc452 100644 --- a/lib/ssl/src/ssl_internal.hrl +++ b/lib/ssl/src/ssl_internal.hrl @@ -28,8 +28,7 @@ -type reply() :: term(). -type msg() :: term(). -type from() :: term(). --type host() :: string() | tuple(). --type port_num() :: integer(). +-type host() :: inet:ip_address() | inet:hostname(). -type session_id() :: 0 | binary(). -type tls_version() :: {integer(), integer()}. -type tls_atom_version() :: sslv3 | tlsv1. -- cgit v1.2.3