mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Protect test info access with mutex
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
@ -123,16 +123,18 @@ unsigned long mbedtls_test_get_step(void);
|
||||
/**
|
||||
* \brief Get the current test line buffer 1
|
||||
*
|
||||
* \return The current test line buffer 1
|
||||
* \param line Buffer of minimum size \c MBEDTLS_TEST_LINE_LENGTH,
|
||||
* which will have line buffer 1 copied to it.
|
||||
*/
|
||||
const char *mbedtls_test_get_line1(void);
|
||||
void mbedtls_test_get_line1(char *line);
|
||||
|
||||
/**
|
||||
* \brief Get the current test line buffer 2
|
||||
*
|
||||
* \return The current test line buffer 2
|
||||
* \param line Buffer of minimum size \c MBEDTLS_TEST_LINE_LENGTH,
|
||||
* which will have line buffer 1 copied to it.
|
||||
*/
|
||||
const char *mbedtls_test_get_line2(void);
|
||||
void mbedtls_test_get_line2(char *line);
|
||||
|
||||
#if defined(MBEDTLS_TEST_MUTEX_USAGE)
|
||||
/**
|
||||
|
Reference in New Issue
Block a user