aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_internal.hrl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2010-06-23 14:19:21 +0200
committerIngela Anderton Andin <[email protected]>2010-06-23 14:19:21 +0200
commit80e96ac836975c537ebbb7588cce9390775e20db (patch)
tree2fc6723fb72128b1961d219c6b3d26af623d312a /lib/ssl/src/ssl_internal.hrl
parent74b227c22f05d0580a03d1d5f7fefcb12a18bde5 (diff)
downloadotp-80e96ac836975c537ebbb7588cce9390775e20db.tar.gz
otp-80e96ac836975c537ebbb7588cce9390775e20db.tar.bz2
otp-80e96ac836975c537ebbb7588cce9390775e20db.zip
Added more specs and changed from using own min/2 funtion to erlang:min/2.
Diffstat (limited to 'lib/ssl/src/ssl_internal.hrl')
-rw-r--r--lib/ssl/src/ssl_internal.hrl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl_internal.hrl b/lib/ssl/src/ssl_internal.hrl
index 3924fc8d39..ddace02dea 100644
--- a/lib/ssl/src/ssl_internal.hrl
+++ b/lib/ssl/src/ssl_internal.hrl
@@ -91,6 +91,9 @@
}).
-type reason() :: term().
+-type reply() :: term().
+-type msg() :: term().
+-type from() :: term().
-type host() :: string() | tuple().
-type port_num() :: integer().
-type session_id() :: binary().
@@ -105,6 +108,9 @@
-type public_key_info() :: {enum_algo(), public_key(), public_key_params()}.
-type der_cert() :: binary().
-type private_key() :: #'RSAPrivateKey'{} | #'DSAPrivateKey'{}.
+-type issuer() :: tuple().
+-type serialnumber() :: integer().
+-type cert_key() :: {reference(), integer(), issuer()}.
-endif. % -ifdef(ssl_internal).