From 33cedca8aa9d6fb8dc0c0107de38911f3cfd21c8 Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Tue, 14 Sep 2021 19:55:49 +0800 Subject: [PATCH] fix comments issue Signed-off-by: Jerry Yu --- include/mbedtls/ssl.h | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h index 58cc113b7f..18142a8617 100644 --- a/include/mbedtls/ssl.h +++ b/include/mbedtls/ssl.h @@ -1532,16 +1532,15 @@ struct mbedtls_ssl_context * MBEDTLS_SSL_PEND_FATAL_ALERT( type, user_return_value ) * defined below. */ - unsigned char MBEDTLS_PRIVATE(send_alert); /*!< Determines if either a fatal error - or a warning should be sent. Values: - - \c 0 if no alert is to be sent. - - #MBEDTLS_SSL_ALERT_LEVEL_FATAL - if a fatal alert is to be sent - - #MBEDTLS_SSL_ALERT_LEVEL_WARNING - if a non-fatal alert is to be sent. */ - unsigned char MBEDTLS_PRIVATE(alert_type); /*!< Type of alert if send_alert != 0 */ - int MBEDTLS_PRIVATE(alert_reason); /*!< The error code to be returned to the - * user once the fatal alert has been sent. */ + unsigned char MBEDTLS_PRIVATE(send_alert); /*!< Determines if a fatal alert + should be sent. Values: + - \c 0 , no alert is to be sent. + - \c 1 , alert is to be sent. */ + unsigned char MBEDTLS_PRIVATE(alert_type); /*!< Type of alert if send_alert + != 0 */ + int MBEDTLS_PRIVATE(alert_reason); /*!< The error code to be returned + to the user once the fatal alert + has been sent. */ #if defined(MBEDTLS_SSL_PROTO_DTLS) uint8_t MBEDTLS_PRIVATE(disable_datagram_packing); /*!< Disable packing multiple records