mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Rename ssl_session.length to id_len
This commit is contained in:
@ -4610,7 +4610,7 @@ void mbedtls_ssl_handshake_wrapup( mbedtls_ssl_context *ssl )
|
||||
* Add cache entry
|
||||
*/
|
||||
if( ssl->conf->f_set_cache != NULL &&
|
||||
ssl->session->length != 0 &&
|
||||
ssl->session->id_len != 0 &&
|
||||
resume == 0 )
|
||||
{
|
||||
if( ssl->conf->f_set_cache( ssl->conf->p_cache, ssl->session ) != 0 )
|
||||
|
Reference in New Issue
Block a user