Add basic tests for session resumption
This commit is contained in:
parent
eaadc508fb
commit
f7c52014ec
2 changed files with 30 additions and 3 deletions
|
@ -1690,6 +1690,7 @@ static int ssl_write_server_hello( ssl_context *ssl )
|
|||
ssl->f_get_cache != NULL &&
|
||||
ssl->f_get_cache( ssl->p_get_cache, ssl->session_negotiate ) == 0 )
|
||||
{
|
||||
SSL_DEBUG_MSG( 3, ( "session successfully restored from cache" ) );
|
||||
ssl->handshake->resume = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue