mirror of https://github.com/wolfSSL/wolfssl.git
examples/benchmark/dtls_bench.c calls wolfSSL_accept and wolfSSL_connect unconditionally, so a build that compiles either side out fails to link: Undefined symbols: "_wolfSSL_accept", referenced from: _main in dtls_bench.o That is the os-check dtls13-client-minimal entry, which passes CPPFLAGS=-DNO_WOLFSSL_SERVER; os-check.yml does not pass --disable-examples, so the benchmark is always built. Compile each DTLS leg out with its own side, the way examples/server/server.c does, and report the missing side from main(). pick_method() and set_mtu() serve only those two legs and go with them, and the send sink is used by the client leg alone, so none of them are left unused. The plain UDP legs need neither side and keep working. |
||
|---|---|---|
| .. | ||
| dtls_bench.c | ||
| include.am | ||
| tls_bench.c | ||
| tls_bench.h | ||