diff options
author | Ingela Anderton Andin <[email protected]> | 2013-11-04 16:41:03 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2013-12-02 09:50:03 +0100 |
commit | 95db85ba3581b9b8722239fb1accc8a4a2d6c2e5 (patch) | |
tree | 15382f381eb4250fb97c36764979c73d5fad4fe7 /lib/ssl/src/dtls_handshake.erl | |
parent | f606903e2b714721b57d1d73a17d31b02f85ef07 (diff) | |
download | otp-95db85ba3581b9b8722239fb1accc8a4a2d6c2e5.tar.gz otp-95db85ba3581b9b8722239fb1accc8a4a2d6c2e5.tar.bz2 otp-95db85ba3581b9b8722239fb1accc8a4a2d6c2e5.zip |
ssl, public_key: Dialyzer fixes
Diffstat (limited to 'lib/ssl/src/dtls_handshake.erl')
-rw-r--r-- | lib/ssl/src/dtls_handshake.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ssl/src/dtls_handshake.erl b/lib/ssl/src/dtls_handshake.erl index 6a54c5a305..ec7f21bd35 100644 --- a/lib/ssl/src/dtls_handshake.erl +++ b/lib/ssl/src/dtls_handshake.erl @@ -110,7 +110,7 @@ encode_handshake(Package, Version, MsgSeq, Mss) -> %-------------------------------------------------------------------- -spec get_dtls_handshake(#ssl_tls{}, #dtls_hs_state{} | binary()) -> - {[dtls_handshake()], #ssl_tls{}}. + {[dtls_handshake()], #dtls_hs_state{}} | {retransmit, #dtls_hs_state{}}. % % Description: Given a DTLS state and new data from ssl_record, collects % and returns it as a list of handshake messages, also returns a new @@ -190,7 +190,6 @@ get_dtls_handshake_aux(Version, SeqNo, get_dtls_handshake_aux(_Version, _SeqNo, <<>>, HsState) -> {lists:reverse(HsState#dtls_hs_state.completed), - HsState#dtls_hs_state.highest_record_seq, HsState#dtls_hs_state{completed = []}}. dec_dtls_fragment(Version, SeqNo, Type, Length, MessageSeq, MsgBody, |