From 205fd82f7ec395ba7da1a24f0573f18840fab431 Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Fri, 8 Oct 2021 16:16:24 +0800 Subject: [PATCH] fix check_name fail Signed-off-by: Jerry Yu --- library/ssl_misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ssl_misc.h b/library/ssl_misc.h index cdd5609675..4205a477c1 100644 --- a/library/ssl_misc.h +++ b/library/ssl_misc.h @@ -412,7 +412,7 @@ static inline int mbedtls_ssl_chk_buf_ptr( const uint8_t *cur, /** * \brief This macro checks if the remaining length in an input buffer is * greater or equal than a needed length. If it is not the case, it - * returns #MBEDTLS_SSL_DECODE_ERROR error and pends a + * returns #MBEDTLS_ERR_SSL_DECODE_ERROR error and pends a * #MBEDTLS_SSL_ALERT_MSG_DECODE_ERROR alert message. * It is used to guaranteed remaining length. *