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
committerPéter Dimitrov <[email protected]>2019-04-18 14:45:28 +0200
commitab2c4c62b56ead7fd4ed06c691c9258e271b4824 (patch)
treec2a01088edc8a519619ca072560ca9b0000caa26 /lib/ssl/src/tls_handshake.erl
parent8a47f7f5b7312e6491c2ca72e826832477b351bb (diff)
downloadotp-ab2c4c62b56ead7fd4ed06c691c9258e271b4824.tar.gz
otp-ab2c4c62b56ead7fd4ed06c691c9258e271b4824.tar.bz2
otp-ab2c4c62b56ead7fd4ed06c691c9258e271b4824.zip
ssl: Fix type specs of internal handshake functions
Change-Id: I99cd0bebd80b3e55fd522457fa126e5bc198657b
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 e7cee1956b..94b932de36 100644
--- a/lib/ssl/src/tls_handshake.erl
+++ b/lib/ssl/src/tls_handshake.erl
@@ -251,7 +251,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