commit | 924dca9d392aacb8edb61d056de1f168003c0007 | [log] [tgz] |
---|---|---|
author | Harry Ramsey <harry.ramsey@arm.com> | Fri Oct 18 12:25:20 2024 +0100 |
committer | Harry Ramsey <harry.ramsey@arm.com> | Fri Oct 18 15:16:05 2024 +0100 |
tree | 5f1d89ab68416d443790c19f72a59f903d796e1b | |
parent | c44f67b5811ca1360aba75da797d9a996155d6e3 [diff] [blame] |
Move mbedtls_test_hook_error_add from error.c to helpers.c This commit moves mbedtls_test_hook_error_add from error.c to helpers.c. Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
diff --git a/tests/src/helpers.c b/tests/src/helpers.c index db50296..bf823fe 100644 --- a/tests/src/helpers.c +++ b/tests/src/helpers.c
@@ -717,4 +717,9 @@ line, file); } } + +#if defined(MBEDTLS_TEST_HOOKS) +void (*mbedtls_test_hook_error_add)(int, int, const char *, int); +#endif + #endif /* MBEDTLS_TEST_HOOKS */