mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-08-12 06:07:49 +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 <[email protected]>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user