Michael Tuexen 6f87807e62 DTLS message_sequence number wrong in rehandshake ServerHello
This fix ensures that
* A HelloRequest is retransmitted if not responded by a ClientHello
* The HelloRequest "consumes" the sequence number 0. The subsequent
ServerHello uses the sequence number 1.
* The client also expects the sequence number of the ServerHello to
be 1 if a HelloRequest was received earlier.
This patch fixes the RFC violation.
(cherry picked from commit b62f4daac00303280361924b9cc19b3e27528b15)

Conflicts:

	ssl/d1_pkt.c
2013-08-13 18:59:41 +01:00
..
2012-04-16 17:43:28 +00:00
2013-03-18 14:33:15 +00:00
2012-03-06 13:22:57 +00:00
2013-04-08 18:40:08 +01:00
2010-04-14 00:17:29 +00:00
2009-04-21 22:20:12 +00:00
2013-02-05 16:46:21 +00:00
2013-02-05 16:46:15 +00:00
2013-02-05 16:46:15 +00:00
2011-02-03 12:04:40 +00:00
2013-02-05 16:46:15 +00:00
2010-02-16 14:20:40 +00:00
2002-07-10 07:01:54 +00:00
2010-02-16 14:20:40 +00:00
2001-11-10 01:16:28 +00:00
2013-02-05 16:46:17 +00:00
2010-03-24 23:16:49 +00:00
2013-02-05 16:46:19 +00:00
2013-03-19 13:47:51 +00:00
2009-09-12 23:09:26 +00:00
2010-02-01 16:49:42 +00:00
2010-01-16 19:20:38 +00:00
2009-06-30 22:26:28 +00:00
2013-02-05 16:46:19 +00:00
2013-02-11 18:27:06 +00:00
2013-02-05 16:46:15 +00:00
2009-12-27 22:59:09 +00:00