aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_handshake.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_handshake.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_handshake.hrl')
-rw-r--r--lib/ssl/src/ssl_handshake.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_handshake.hrl b/lib/ssl/src/ssl_handshake.hrl
index a4ce48c291..9af6511d68 100644
--- a/lib/ssl/src/ssl_handshake.hrl
+++ b/lib/ssl/src/ssl_handshake.hrl
@@ -100,7 +100,7 @@
compression_methods, % compression_methods<1..2^8-1>,
renegotiation_info,
hash_signs, % supported combinations of hashes/signature algos
- next_protocol_negotiation = undefined :: undefined | list(binary())
+ next_protocol_negotiation = undefined % [binary()]
}).
-record(server_hello, {
@@ -111,7 +111,7 @@
compression_method, % compression_method
renegotiation_info,
hash_signs, % supported combinations of hashes/signature algos
- next_protocol_negotiation = undefined :: undefined | list(binary())
+ next_protocol_negotiation = undefined % [binary()]
}).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%