diff --git a/include/mbedtls/error.h b/include/mbedtls/error.h index f00b4f5b2..9a8690dc1 100644 --- a/include/mbedtls/error.h +++ b/include/mbedtls/error.h @@ -129,7 +129,6 @@ extern "C" { * Only used when invasive testing is enabled via MBEDTLS_TEST_HOOKS. */ extern void (*mbedtls_test_hook_error_add)( int, int, const char *, int ); -extern void (*mbedtls_test_hook_test_fail)( const char * test, int line, const char * file ); #endif /** diff --git a/tests/suites/main_test.function b/tests/suites/main_test.function index 80c730b8a..6a87e8099 100644 --- a/tests/suites/main_test.function +++ b/tests/suites/main_test.function @@ -24,6 +24,7 @@ #endif #include "mbedtls/build_info.h" +#include "common.h" /* Test code may use deprecated identifiers only if the preprocessor symbol * MBEDTLS_TEST_DEPRECATED is defined. When building tests, set