Use shorthand local variable for session under negotiation
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
parent
f6e09c6f83
commit
7ad77963d1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue