mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-29 22:20:30 +00:00
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>
This commit is contained in:
parent
c44f67b581
commit
924dca9d39
@ -152,8 +152,4 @@ void mbedtls_strerror(int ret, char *buf, size_t buflen)
|
||||
|
||||
#endif /* MBEDTLS_ERROR_C */
|
||||
|
||||
#if defined(MBEDTLS_TEST_HOOKS)
|
||||
void (*mbedtls_test_hook_error_add)(int, int, const char *, int);
|
||||
#endif
|
||||
|
||||
#endif /* MBEDTLS_ERROR_C || MBEDTLS_ERROR_STRERROR_DUMMY */
|
||||
|
@ -717,4 +717,9 @@ void mbedtls_test_err_add_check(int high, int low,
|
||||
line, file);
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(MBEDTLS_TEST_HOOKS)
|
||||
void (*mbedtls_test_hook_error_add)(int, int, const char *, int);
|
||||
#endif
|
||||
|
||||
#endif /* MBEDTLS_TEST_HOOKS */
|
||||
|
Loading…
x
Reference in New Issue
Block a user