diff --git a/include/mbedtls/ssl_cache.h b/include/mbedtls/ssl_cache.h index 7009827f89..08f98b5591 100644 --- a/include/mbedtls/ssl_cache.h +++ b/include/mbedtls/ssl_cache.h @@ -105,7 +105,8 @@ void mbedtls_ssl_cache_init(mbedtls_ssl_cache_context *cache); * * \return \c 0 on success. * \return #MBEDTLS_ERR_SSL_CACHE_ENTRY_NOT_FOUND if there is - * no cache entry with specified session ID found. + * no cache entry with specified session ID found, or + * any other negative error code for other failures. */ int mbedtls_ssl_cache_get(void *data, unsigned char const *session_id,