aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_internal.hrl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2012-09-19 16:47:53 +0200
committerIngela Anderton Andin <[email protected]>2012-09-20 14:38:38 +0200
commitc1fbf30d1fb4bcae9ddbc6e444447132af14030b (patch)
tree539c48be8c6d543502162236185d2a4d1db5b4fa /lib/ssl/src/ssl_internal.hrl
parent1e0d466f198842cfed14f4fae906381c39bd2050 (diff)
downloadotp-c1fbf30d1fb4bcae9ddbc6e444447132af14030b.tar.gz
otp-c1fbf30d1fb4bcae9ddbc6e444447132af14030b.tar.bz2
otp-c1fbf30d1fb4bcae9ddbc6e444447132af14030b.zip
ssl: Dialyzer fixes and code cleaning
Types in a record where wrongly type specified, did not include undefined. Make them comments for now, maybe we will specify internal records with dialyzer types later, but as the other record fields are not specified at the moment, with dialyzer types, make the code consistent.
Diffstat (limited to 'lib/ssl/src/ssl_internal.hrl')
-rw-r--r--lib/ssl/src/ssl_internal.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_internal.hrl b/lib/ssl/src/ssl_internal.hrl
index 643b3fbf7d..a5db2dcee7 100644
--- a/lib/ssl/src/ssl_internal.hrl
+++ b/lib/ssl/src/ssl_internal.hrl
@@ -107,8 +107,8 @@
% go into hibernation
%% This option should only be set to true by inet_tls_dist
erl_dist = false,
- next_protocols_advertised = undefined :: list(binary()),
- next_protocol_selector = undefined :: fun((list(binary())) -> binary())
+ next_protocols_advertised = undefined, %% [binary()],
+ next_protocol_selector = undefined %% fun([binary()]) -> binary())
}).
-record(socket_options,