mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-06 03:40:04 +00:00
Add required code to psa_sim_generate.pl
Non generated code was unfortnuately added to psa_sim_crypto_server.c, fix that by adding it to the generation scripts. Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
d118cd21d6
commit
958bdf7f16
@ -302,6 +302,10 @@ sub server_implementations_header
|
||||
#if !defined(MBEDTLS_PSA_CRYPTO_C)
|
||||
#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
|
||||
EOF
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user