From cf600bc07c19bbe104636baee09fe73612d615d0 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Fri, 17 Jun 2022 15:54:16 +0200 Subject: [PATCH] Comment fixes Signed-off-by: Ronald Cron --- library/ssl_misc.h | 2 +- tests/suites/test_suite_ssl.function | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library/ssl_misc.h b/library/ssl_misc.h index 816beea31..c17fa20f3 100644 --- a/library/ssl_misc.h +++ b/library/ssl_misc.h @@ -410,7 +410,7 @@ static inline int mbedtls_ssl_chk_buf_ptr( const uint8_t *cur, } return( 0 ); } -#endif +#endif /* MBEDTLS_TEST_HOOKS */ /** * \brief This macro checks if the remaining size in a buffer is diff --git a/tests/suites/test_suite_ssl.function b/tests/suites/test_suite_ssl.function index 97eccbd24..59c69c6af 100644 --- a/tests/suites/test_suite_ssl.function +++ b/tests/suites/test_suite_ssl.function @@ -2328,11 +2328,11 @@ exit: /* * Tweak vector lengths in a TLS 1.3 Certificate message * - * /param[in] buf Buffer containing the Certificate message to tweak - * /param[in]]out] end End of the buffer to parse - * /param tweak Tweak identifier (from 1 to the number of tweaks). - * /param[out] expected_result Error code expected from the parsing function - * /param[out] args Arguments of the MBEDTLS_SSL_CHK_BUF_READ_PTR call that + * \param[in] buf Buffer containing the Certificate message to tweak + * \param[in]]out] end End of the buffer to parse + * \param tweak Tweak identifier (from 1 to the number of tweaks). + * \param[out] expected_result Error code expected from the parsing function + * \param[out] args Arguments of the MBEDTLS_SSL_CHK_BUF_READ_PTR call that * is expected to fail. All zeroes if no * MBEDTLS_SSL_CHK_BUF_READ_PTR failure is expected. */