mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-25 04:25:44 +00:00
34dcf4e6f6
This commit adds the command line option 'bad_cid' to the UDP proxy `./programs/test/udp_proxy`. It takes a non-negative integral value N, which if not 0 has the effect of duplicating every 1:N CID records and modifying the CID in the first copy sent. This is to exercise the stacks documented behaviour on receipt of unexpected CIDs. It is important to send the record with the unexpected CID first, because otherwise the packet would be dropped already during replay protection (the same holds for the implementation of the existing 'bad_ad' option). |
||
---|---|---|
.. | ||
benchmark.c | ||
CMakeLists.txt | ||
cpp_dummy_build.cpp | ||
query_compile_time_config.c | ||
selftest.c | ||
udp_proxy.c | ||
udp_proxy_wrapper.sh | ||
zeroize.c |