mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Introduce typedef for SSL session cache callbacks
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
@ -4167,9 +4167,9 @@ void mbedtls_ssl_set_timer_cb( mbedtls_ssl_context *ssl,
|
||||
|
||||
#if defined(MBEDTLS_SSL_SRV_C)
|
||||
void mbedtls_ssl_conf_session_cache( mbedtls_ssl_config *conf,
|
||||
void *p_cache,
|
||||
int (*f_get_cache)(void *, mbedtls_ssl_session *),
|
||||
int (*f_set_cache)(void *, const mbedtls_ssl_session *) )
|
||||
void *p_cache,
|
||||
mbedtls_ssl_cache_get_t *f_get_cache,
|
||||
mbedtls_ssl_cache_set_t *f_set_cache )
|
||||
{
|
||||
conf->p_cache = p_cache;
|
||||
conf->f_get_cache = f_get_cache;
|
||||
|
Reference in New Issue
Block a user