mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Use shorthand local variable for session under negotiation
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
@ -2775,7 +2775,7 @@ static void ssl_handle_id_based_session_resumption( mbedtls_ssl_context *ssl )
|
||||
* It may be already set to 1 by ssl_parse_session_ticket_ext(). */
|
||||
if( ssl->handshake->resume == 1 )
|
||||
return;
|
||||
if( ssl->session_negotiate->id_len == 0 )
|
||||
if( session->id_len == 0 )
|
||||
return;
|
||||
if( ssl->conf->f_get_cache == NULL )
|
||||
return;
|
||||
|
Reference in New Issue
Block a user