From cdf06f69ddb88a4b9c71ed7ea4f672440770e49b Mon Sep 17 00:00:00 2001 From: Pengyu Lv Date: Thu, 23 Mar 2023 11:15:24 +0800 Subject: [PATCH] Improve function return value description Signed-off-by: Pengyu Lv --- include/mbedtls/ssl_cache.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/mbedtls/ssl_cache.h b/include/mbedtls/ssl_cache.h index 1eb933cfa..00891bc89 100644 --- a/include/mbedtls/ssl_cache.h +++ b/include/mbedtls/ssl_cache.h @@ -132,9 +132,10 @@ int mbedtls_ssl_cache_set(void *data, * associated to \p session. * \param session_id_len The length of \p session_id in bytes. * - * \return \c 0: The cache entry for session with provided ID - * is removed or does not exist. - * A negative error code on failure. + * \return \c 0 on success. This indicates the cache entry for + * the session with provided ID is removed or does not + * exist. + * \return A negative error code on failure. */ int mbedtls_ssl_cache_remove(void *data, unsigned char const *session_id,