aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_handshake.erl
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2019-04-18 14:45:28 +0200
committerIngela Anderton Andin <[email protected]>2019-04-30 17:18:04 +0200
commit4223e999df9d0ef75e3ad4773f94d0c00d34bcc9 (patch)
tree1b1d236917905e3c65b0db58a6c997316a1022ef /lib/ssl/src/tls_handshake.erl
parent0d160208d41d708fe18325f973fdd8ac849309fc (diff)
downloadotp-4223e999df9d0ef75e3ad4773f94d0c00d34bcc9.tar.gz
otp-4223e999df9d0ef75e3ad4773f94d0c00d34bcc9.tar.bz2
otp-4223e999df9d0ef75e3ad4773f94d0c00d34bcc9.zip
ssl: Fix type specs of internal handshake functions
Change-Id: I99cd0bebd80b3e55fd522457fa126e5bc198657b Conflicts: lib/ssl/src/ssl_handshake.erl
Diffstat (limited to 'lib/ssl/src/tls_handshake.erl')
-rw-r--r--lib/ssl/src/tls_handshake.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_handshake.erl b/lib/ssl/src/tls_handshake.erl
index 0f0de5936a..c2b0d8e039 100644
--- a/lib/ssl/src/tls_handshake.erl
+++ b/lib/ssl/src/tls_handshake.erl
@@ -157,7 +157,7 @@ encode_handshake(Package, Version) ->
%%--------------------------------------------------------------------
-spec get_tls_handshake(tls_record:tls_version(), binary(), binary() | iolist(),
#ssl_options{}) ->
- {[tls_handshake()], binary()}.
+ {[{tls_handshake(), binary()}], binary()}.
%%
%% Description: Given buffered and new data from ssl_record, collects
%% and returns it as a list of handshake messages, also returns leftover