diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 4fa8609f9..c05600024 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -5741,6 +5741,16 @@ run_test "DTLS proxy: delay ChangeCipherSpec" \ -s "Extra-header:" \ -c "HTTP/1.0 200 OK" +# Tests for reordering support with DTLS + +run_test "DTLS reordering: Buffer out-of-order CCS message"\ + -p "$P_PXY delay=3 seed=1" \ + "$P_SRV cookies=0 dtls=1 debug_level=2" \ + "$P_CLI dtls=1 debug_level=2" \ + 0 \ + -c "Inject buffered CCS message" \ + -c "Remember CCS message" + # Tests for "randomly unreliable connection": try a variety of flows and peers client_needs_more_time 2