0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
openvpn3/test
James Yonan 0670c1606b proto test: retry up to 5 times to prevent errors from blowing up the test
By default, the proto test uses a relatively small
handshake_window to intentionally trigger
KEV_NEGOTIATE_ERROR, so that we can test mid-session error
recovery.  However if KEV_NEGOTIATE_ERROR is hit on the
first primary key (i.e. first KeyContext with key_id == 0),
it is fatal to the session and will trigger a disconnect.

This change introduces a retry to prevent this
low-probability, false-positive corner case from
blowing up the test.

Signed-off-by: James Yonan <james@openvpn.net>
2021-05-31 23:21:30 -06:00
..
ovpncli use DCO opportunistically 2021-05-27 17:20:24 +02:00
ssl proto test: retry up to 5 times to prevent errors from blowing up the test 2021-05-31 23:21:30 -06:00
unittests unit tests: modified JY_ASSERT macros to use "do { ... } while (0)" syntax for better statement semantics 2021-05-31 13:34:44 -06:00
unused Update copyrights 2020-03-18 19:37:32 +01:00