diff --git a/library/ssl_misc.h b/library/ssl_misc.h index 816beea31e..c17fa20f3d 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 97eccbd24d..59c69c6afe 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. */