mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-21 19:20:56 +00:00
Fix missed case for removing accessor
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
098e2d82cd
commit
f20728ee49
@ -483,7 +483,7 @@ int mbedtls_test_le_s(const char *test, int line_no, const char *filename,
|
||||
#endif /* MBEDTLS_THREADING_C */
|
||||
|
||||
/* Don't use accessor, we already hold mutex. */
|
||||
if (mbedtls_test_get_result() != MBEDTLS_TEST_RESULT_FAILED) {
|
||||
if (mbedtls_test_info.result != MBEDTLS_TEST_RESULT_FAILED) {
|
||||
/* If we've already recorded the test as having failed then don't
|
||||
* overwrite any previous information about the failure. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user