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:50:55 +0000 (12:50 +0000)
commit4a534243183498ee1a5b3fb19f4be8a0bf731ca7
tree5e31d7e14f40a521380360c8fc5aa35cbf3e75e0
parentd724616f682cb374b613d7fbd57e4c2bf749469c
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>
(cherry picked from commit 2ad226e88bee97847496e542d63c67997d5beda6)
ssl/d1_both.c