Improve function return value description

Signed-off-by: Pengyu Lv <[email protected]>
This commit is contained in:
Pengyu Lv
2023-03-23 11:15:24 +08:00
parent b1895899f1
commit cdf06f69dd
+4 -3
View File
@@ -132,9 +132,10 @@ int mbedtls_ssl_cache_set(void *data,
* associated to \p session. * associated to \p session.
* \param session_id_len The length of \p session_id in bytes. * \param session_id_len The length of \p session_id in bytes.
* *
* \return \c 0: The cache entry for session with provided ID * \return \c 0 on success. This indicates the cache entry for
* is removed or does not exist. * the session with provided ID is removed or does not
* A negative error code on failure. * exist.
* \return A negative error code on failure.
*/ */
int mbedtls_ssl_cache_remove(void *data, int mbedtls_ssl_cache_remove(void *data,
unsigned char const *session_id, unsigned char const *session_id,