ssl_cache: Error renaming and document improvement

Signed-off-by: Pengyu Lv <[email protected]>
This commit is contained in:
Pengyu Lv
2023-04-10 14:40:03 +08:00
parent 4e70724396
commit e3746d7ce6
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -104,7 +104,8 @@ void mbedtls_ssl_cache_init(mbedtls_ssl_cache_context *cache);
* associated with \p session_id, if present.
*
* \return \c 0 on success.
* \return A negative error code on failure.
* \return #MBEDTLS_ERR_SSL_CACHE_ENTRY_NOT_FOUND if there is
* no cache entry with specified session ID found.
*/
int mbedtls_ssl_cache_get(void *data,
unsigned char const *session_id,