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:47:49 +0000 (12:47 +0000)
commit01b5c1239b5d80bb50c17a3a8673bbfc183d25d4
tree0eed451c0d4ea380c433148fc3f11b208211e3b6
parentf4d1926f9546e84631fdfd9bd68af86ffe4021b2
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