Matt Caswell 4285b85163 Ensure last_write_sequence is saved in DTLS1.2
In DTLS, immediately prior to epoch change, the write_sequence is supposed
to be stored in s->d1->last_write_sequence. The write_sequence is then reset
back to 00000000. In the event of retransmits of records from the previous
epoch, the last_write_sequence is restored. This commit fixes a bug in
DTLS1.2 where the write_sequence was being reset before last_write_sequence
was saved, and therefore retransmits are sent with incorrect sequence
numbers.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit d5d0a1cb1347d4a8547e78aec56c50c528186e50)
2015-03-25 12:28:45 +00:00
..
2015-03-09 10:54:06 +00:00
2015-03-19 11:11:22 +00:00
2015-02-27 20:31:28 +00:00
2015-01-22 09:31:38 +00:00
2014-11-27 21:46:00 +00:00
2015-03-19 12:58:36 +00:00
2015-03-10 10:45:52 +00:00
2015-03-11 10:45:23 +00:00
2015-03-19 11:11:22 +00:00
2015-03-19 12:58:35 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-03-20 12:06:12 +00:00
2015-03-08 17:31:48 +00:00
2015-01-07 02:15:35 +01:00
2015-03-20 12:09:22 +00:00
2015-01-22 09:31:38 +00:00