Fix DTLS handshake fragment retries
authorMatt Caswell <matt@openssl.org>
Tue, 3 Nov 2015 14:45:07 +0000 (14:45 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 10 Dec 2015 12:44:07 +0000 (12:44 +0000)
commit2ad226e88bee97847496e542d63c67997d5beda6
treee24c897beba1bb5c6cacc61017e61b9387a36b6a
parent02dc0b82ab19c32bf072213feff746b5b35f8ef6
Fix DTLS handshake fragment retries

If using DTLS and NBIO then if a second or subsequent handshake message
fragment hits a retry, then the retry attempt uses the wrong fragment
offset value. This commit restores the fragment offset from the last
attempt.

Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/statem/statem_dtls.c