fix check_name fail
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
diff --git a/library/ssl_misc.h b/library/ssl_misc.h
index cdd5609..4205a47 100644
--- a/library/ssl_misc.h
+++ b/library/ssl_misc.h
@@ -412,7 +412,7 @@
/**
* \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.
*