aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_connection.hrl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-11-04 16:41:03 +0100
committerIngela Anderton Andin <[email protected]>2013-12-02 09:50:03 +0100
commit95db85ba3581b9b8722239fb1accc8a4a2d6c2e5 (patch)
tree15382f381eb4250fb97c36764979c73d5fad4fe7 /lib/ssl/src/tls_connection.hrl
parentf606903e2b714721b57d1d73a17d31b02f85ef07 (diff)
downloadotp-95db85ba3581b9b8722239fb1accc8a4a2d6c2e5.tar.gz
otp-95db85ba3581b9b8722239fb1accc8a4a2d6c2e5.tar.bz2
otp-95db85ba3581b9b8722239fb1accc8a4a2d6c2e5.zip
ssl, public_key: Dialyzer fixes
Diffstat (limited to 'lib/ssl/src/tls_connection.hrl')
-rw-r--r--lib/ssl/src/tls_connection.hrl9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/ssl/src/tls_connection.hrl b/lib/ssl/src/tls_connection.hrl
index f802f2afa9..2beecbb84d 100644
--- a/lib/ssl/src/tls_connection.hrl
+++ b/lib/ssl/src/tls_connection.hrl
@@ -26,12 +26,13 @@
-define(tls_connection, true).
-include("ssl_connection.hrl").
+-include("tls_record.hrl").
-record(protocol_buffers, {
- tls_packets = [] :: [binary()], % Not yet handled decode SSL/TLS packets.
- tls_record_buffer = <<>> :: binary(), % Buffer of incomplete records
- tls_handshake_buffer = <<>> :: binary(), % Buffer of incomplete handshakes
- tls_cipher_texts = [] :: [binary()]
+ tls_packets = [], %% :: [#ssl_tls{}], % Not yet handled decode SSL/TLS packets.
+ tls_record_buffer = <<>>, %% :: binary(), % Buffer of incomplete records
+ tls_handshake_buffer = <<>>, %% :: binary(), % Buffer of incomplete handshakes
+ tls_cipher_texts = [] %%:: [binary()]
}).
-endif. % -ifdef(tls_connection).