1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Parse NewSessionTicket message

This commit is contained in:
Manuel Pégourié-Gonnard
2013-07-31 12:58:16 +02:00
committed by Paul Bakker
parent 60182ef989
commit a5cc6025e7
5 changed files with 122 additions and 4 deletions

View File

@ -2619,6 +2619,11 @@ int ssl_write_finished( ssl_context *ssl )
else
ssl->state = SSL_CLIENT_CHANGE_CIPHER_SPEC;
}
else if( ssl->endpoint == SSL_IS_CLIENT &&
ssl->handshake->new_session_ticket != 0 )
{
ssl->state = SSL_SERVER_NEW_SESSION_TICKET;
}
else
ssl->state++;