From 723ac268e72242cbb2dedd74050719059884784b Mon Sep 17 00:00:00 2001 From: Pengyu Lv Date: Tue, 11 Apr 2023 09:19:08 +0800 Subject: [PATCH] ssh_cache: Add back description of other errors for cache getter Signed-off-by: Pengyu Lv --- include/mbedtls/ssl_cache.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,