mbedtls/programs/test
Manuel Pégourié-Gonnard 66491e1840 Fix undefined references to hardware_poll()
Ultimately, mbedtls_hardware_poll() is going to be provided by the
OS/environment when running on target. But for on-host programs and tests, we
need to define (a fake version) in each program that we want to be able to
link.

A previous commit took care of ssl_client2 and ssl_server2. But if we want to
be able to compile all programs, we need to modify each of them. This doesn't
seem useful, so instead let's just build the programs we need for testing -
this means only udp_proxy needs fixing in addition to what's already done.

This issue went unnoticed in the PR that introduced the new all.sh component,
because at that time the platform_memxxx() functions were not actually used in
the library (nor in programs), so the linker could live with
mbedtls_hardware_poll() not being defined, as it wasn't called anywhere. This
changed when we started using the new platform_memxxx() functions in the
library.
2019-10-22 12:50:13 +02:00
..
benchmark.c Adapt the example programs 2019-10-04 12:52:42 +03:00
CMakeLists.txt Remove ssl_cert_test sample app 2019-04-07 16:51:18 +03:00
cpp_dummy_build.cpp Remove md_wrap.c and md_internal.h 2019-09-09 09:45:57 +01:00
query_compile_time_config.c Fix aligment in programs/test/query_compile_time_config.c 2019-02-07 10:32:31 +00:00
selftest.c Adapt the example programs 2019-10-04 12:52:42 +03:00
udp_proxy.c Fix undefined references to hardware_poll() 2019-10-22 12:50:13 +02:00
udp_proxy_wrapper.sh udp_proxy_wrapper.sh: fix cleanup not cleaning up 2017-10-24 11:25:19 +01:00
zeroize.c Move the definition of function in zeroize 2019-10-04 15:02:57 +03:00