mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-11 06:28:17 +02:00
Address review comments
This commit is contained in:
committed by
Manuel Pégourié-Gonnard
parent
dbf6073fa3
commit
29f2dd0a7b
@@ -2527,11 +2527,11 @@ int main( int argc, char *argv[] )
|
||||
if( opt.cache_timeout != -1 )
|
||||
mbedtls_ssl_cache_set_timeout( &cache, opt.cache_timeout );
|
||||
|
||||
#if defined(MBEDTLS_SSL_SESSION_CACHE)
|
||||
#if !defined(MBEDTLS_SSL_NO_SESSION_CACHE)
|
||||
mbedtls_ssl_conf_session_cache( &conf, &cache,
|
||||
mbedtls_ssl_cache_get,
|
||||
mbedtls_ssl_cache_set );
|
||||
#endif /* MBEDTLS_SSL_SESSION_CACHE */
|
||||
#endif /* !MBEDTLS_SSL_NO_SESSION_CACHE */
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_SSL_SESSION_TICKETS)
|
||||
|
||||
Reference in New Issue
Block a user