mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-29 00:18:06 -04: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)
|
#if !defined(MBEDTLS_PSA_CRYPTO_C)
|
||||||
#error "Error: MBEDTLS_PSA_CRYPTO_C must be enabled on server build"
|
#error "Error: MBEDTLS_PSA_CRYPTO_C must be enabled on server build"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_TEST_HOOKS)
|
||||||
|
void (*mbedtls_test_hook_error_add)(int, int, const char *, int);
|
||||||
|
#endif
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user