From e38422107e0f8ea4107fbc85e6253cf8f41cfec8 Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Thu, 16 Aug 2018 15:28:59 +0100 Subject: [PATCH] Add test for reordering of handshake messages --- tests/ssl-opt.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index c05600024..15481e183 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -5743,6 +5743,14 @@ run_test "DTLS proxy: delay ChangeCipherSpec" \ # Tests for reordering support with DTLS +run_test "DTLS reordering: Buffer out-of-order handshake message" \ + -p "$P_PXY delay=2 seed=1" \ + "$P_SRV cookies=0 dtls=1 debug_level=2" \ + "$P_CLI dtls=1 debug_level=2" \ + 0 \ + -c "Buffering HS message" \ + -c "Next handshake message has been buffered - load" + 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" \