Matt Caswell be8b8603d6 Fix DTLS session ticket renewal
A DTLS client will abort a handshake if the server attempts to renew the
session ticket. This is caused by a state machine discrepancy between DTLS
and TLS discovered during the state machine rewrite work.

The bug can be demonstrated as follows:

Start a DTLS s_server instance:
openssl s_server -dtls

Start a client and obtain a session but no ticket:
openssl s_client -dtls -sess_out session.pem -no_ticket

Now start a client reusing the session, but allow a ticket:
openssl s_client -dtls -sess_in session.pem

The client will abort the handshake.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit ee4ffd6fccd169775ba74afb1dbfecff48ee413d)

Conflicts:
	ssl/d1_clnt.c
2015-08-26 10:27:35 +01:00
..
2015-08-26 10:27:35 +01:00
2015-06-02 09:12:39 +01:00
2015-05-22 10:24:49 +01:00
2015-02-27 20:32:49 +00:00
2015-01-22 09:38:39 +00:00
2015-06-08 15:05:08 +02:00
2015-08-11 20:23:00 +01:00
2015-03-11 10:49:22 +00:00
2015-07-02 13:04:25 +01:00
2015-01-22 09:38:39 +00:00
2015-01-22 09:38:39 +00:00
2015-07-27 16:14:02 +01:00
2015-01-22 09:38:39 +00:00
2015-08-11 20:23:00 +01:00
2015-06-11 10:08:18 +01:00
2015-05-05 20:07:48 +01:00
2015-08-11 20:23:00 +01:00
2015-04-30 23:26:06 +01:00
2015-06-12 15:45:17 +01:00
2015-01-22 09:38:39 +00:00
2015-04-16 13:51:51 -04:00