mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-05 01:23:39 +02:00
Fix linking error for mbedtls_test_hook_error_add
This commit fixes a linking error with psa_sim_crypto_server.c where mbedtls_test_hook_error_add was undefined. Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
This commit is contained in:
@@ -21,6 +21,10 @@
|
||||
#error "Error: MBEDTLS_PSA_CRYPTO_C must be enabled on server build"
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_TEST_HOOKS)
|
||||
void (*mbedtls_test_hook_error_add)(int, int, const char *, int);
|
||||
#endif
|
||||
|
||||
// Returns 1 for success, 0 for failure
|
||||
int psa_crypto_init_wrapper(
|
||||
uint8_t *in_params, size_t in_params_len,
|
||||
|
||||
Reference in New Issue
Block a user