diff options
author | Péter Dimitrov <[email protected]> | 2019-01-09 14:22:21 +0100 |
---|---|---|
committer | Péter Dimitrov <[email protected]> | 2019-01-11 09:59:12 +0100 |
commit | 757f2d4c1e3313b1a793549355c2bb3104635344 (patch) | |
tree | 3752e36a094e5ab16cfb0ca975c6a13de4e7ee03 /lib/ssl/src/tls_handshake.erl | |
parent | dc9ec91e8ba3e8bdae74c7090a9969211e355f07 (diff) | |
download | otp-757f2d4c1e3313b1a793549355c2bb3104635344.tar.gz otp-757f2d4c1e3313b1a793549355c2bb3104635344.tar.bz2 otp-757f2d4c1e3313b1a793549355c2bb3104635344.zip |
ssl: Fix dialyzer warnings
Change-Id: I9269825c833d1461369828a9228f384ccf2543a9
Diffstat (limited to 'lib/ssl/src/tls_handshake.erl')
-rw-r--r-- | lib/ssl/src/tls_handshake.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_handshake.erl b/lib/ssl/src/tls_handshake.erl index 3766bc1302..f0bbd0f94f 100644 --- a/lib/ssl/src/tls_handshake.erl +++ b/lib/ssl/src/tls_handshake.erl @@ -232,7 +232,8 @@ hello(#client_hello{client_version = ClientVersion, %%-------------------------------------------------------------------- %%-------------------------------------------------------------------- --spec encode_handshake(tls_handshake(), tls_record:tls_version()) -> iolist(). +-spec encode_handshake(tls_handshake() | tls_handshake_1_3:tls_handshake_1_3(), + tls_record:tls_version()) -> iolist(). %% %% Description: Encode a handshake packet %%-------------------------------------------------------------------- |