fix comments issue

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2021-09-14 19:55:49 +08:00
parent e7047819ee
commit 33cedca8aa

View File

@ -1532,16 +1532,15 @@ struct mbedtls_ssl_context
* MBEDTLS_SSL_PEND_FATAL_ALERT( type, user_return_value ) * MBEDTLS_SSL_PEND_FATAL_ALERT( type, user_return_value )
* defined below. * defined below.
*/ */
unsigned char MBEDTLS_PRIVATE(send_alert); /*!< Determines if either a fatal error unsigned char MBEDTLS_PRIVATE(send_alert); /*!< Determines if a fatal alert
or a warning should be sent. Values: should be sent. Values:
- \c 0 if no alert is to be sent. - \c 0 , no alert is to be sent.
- #MBEDTLS_SSL_ALERT_LEVEL_FATAL - \c 1 , alert is to be sent. */
if a fatal alert is to be sent unsigned char MBEDTLS_PRIVATE(alert_type); /*!< Type of alert if send_alert
- #MBEDTLS_SSL_ALERT_LEVEL_WARNING != 0 */
if a non-fatal alert is to be sent. */ int MBEDTLS_PRIVATE(alert_reason); /*!< The error code to be returned
unsigned char MBEDTLS_PRIVATE(alert_type); /*!< Type of alert if send_alert != 0 */ to the user once the fatal alert
int MBEDTLS_PRIVATE(alert_reason); /*!< The error code to be returned to the has been sent. */
* user once the fatal alert has been sent. */
#if defined(MBEDTLS_SSL_PROTO_DTLS) #if defined(MBEDTLS_SSL_PROTO_DTLS)
uint8_t MBEDTLS_PRIVATE(disable_datagram_packing); /*!< Disable packing multiple records uint8_t MBEDTLS_PRIVATE(disable_datagram_packing); /*!< Disable packing multiple records