mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
Parse NewSessionTicket message
This commit is contained in:
parent
60182ef989
commit
a5cc6025e7
5 changed files with 122 additions and 4 deletions
|
|
@ -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++;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue