Add basic tests for session resumption

This commit is contained in:
Manuel Pégourié-Gonnard 2014-02-20 11:43:46 +01:00
parent eaadc508fb
commit f7c52014ec
2 changed files with 30 additions and 3 deletions

View file

@ -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;
}