Mateusz Starzyk 28c8cce051 Add conditional error.h include to test helpers function.
`mbedtls_test_hook_error_add` is referenced inside main_test.function.
Including the `error.h` is necessary to build suites which define both
MBEDTLS_TEST_HOOKS and MBEDTLS_ERROR_C, such as:
build_psa_accel_alg_ecdh

Signed-off-by: Mateusz Starzyk <mateusz.starzyk@mobica.com>
2021-05-21 18:10:44 +02:00
..
2021-04-09 15:46:51 +02:00
2015-04-08 13:25:31 +02:00
2021-05-13 11:19:01 +02:00
2020-11-26 15:54:35 +01:00
2021-05-20 11:16:59 +02:00
2021-03-09 16:09:18 +00:00