Removing unneded extern declaration of a callback and including common.h where the cb is needed

Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
This commit is contained in:
TRodziewicz 2021-07-15 16:12:54 +02:00
parent c9890e9a8c
commit 12c77410eb
2 changed files with 1 additions and 1 deletions

View file

@ -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
/**

View file

@ -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