ssl_cache: Improve some comments

Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
Pengyu Lv 2023-03-16 11:38:43 +08:00
parent db47f2fbd4
commit b1895899f1
3 changed files with 5 additions and 4 deletions

View file

@ -132,9 +132,9 @@ int mbedtls_ssl_cache_set(void *data,
* associated to \p session.
* \param session_id_len The length of \p session_id in bytes.
*
* \return 0: The cache entry for session with provided ID
* \return \c 0: The cache entry for session with provided ID
* is removed or does not exist.
* Otherwise: fail.
* A negative error code on failure.
*/
int mbedtls_ssl_cache_remove(void *data,
unsigned char const *session_id,