From 13200ab116bb98669a43ccba2b98df0f29c5a28b Mon Sep 17 00:00:00 2001 From: Nico Geyso Date: Wed, 19 Nov 2025 23:09:11 +0100 Subject: [PATCH] Fix more C code style issues Signed-off-by: Nico Geyso --- include/mbedtls/ssl.h | 4 ++-- tests/suites/test_suite_ssl.function | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h index 2eb8d85dc9..655143c106 100644 --- a/include/mbedtls/ssl.h +++ b/include/mbedtls/ssl.h @@ -1716,11 +1716,11 @@ struct mbedtls_ssl_context { on next call to record layer? */ unsigned char MBEDTLS_PRIVATE(in_alert_recv); /*!< Determines if a fatal alert has - been received. Values: + been received. Values: - \c 0 , no fatal alert received. - \c 1 , a fatal alert has been received */ unsigned char MBEDTLS_PRIVATE(in_alert_type); /*!< Type of fatal alert if in_alert_recv - != 0 */ + != 0 */ /* The following three variables indicate if and, if yes, * what kind of alert is pending to be sent. diff --git a/tests/suites/test_suite_ssl.function b/tests/suites/test_suite_ssl.function index d4eeb760f8..d4ff7fea57 100644 --- a/tests/suites/test_suite_ssl.function +++ b/tests/suites/test_suite_ssl.function @@ -5969,7 +5969,7 @@ void ssl_get_alert_after_fatal(void) TEST_ASSERT(mbedtls_ssl_get_alert(&ssl) == MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE); /* Reset the session and check that no alert is present*/ - mbedtls_ssl_session_reset_msg_layer( &ssl, 0); + mbedtls_ssl_session_reset_msg_layer(&ssl, 0); TEST_ASSERT(mbedtls_ssl_get_alert(&ssl) == MBEDTLS_ERR_SSL_BAD_INPUT_DATA); exit: