mbedtls_ssl_cache_remove() function
Remove the cache entry by the session ID (Thread-safe if MBEDTLS_THREADING_C is enabled)
Arguments
data
The SSL cache context to use.
session_id
The pointer to the buffer holding the session ID associated to session.
session_id_len
The length of \p session_id in bytes.
Return value
\c 0 on success. This indicates the cache entry for the session with provided ID is removed or does not exist. A negative error code on failure.
mbedtls_ssl_cache_remove() calls 3 functions:
![]()
mbedtls_ssl_cache_remove()
mbedtls_ssl_cache_remove() reads 2 variables and writes 2 variables:
![]()
mbedtls_ssl_cache_remove()