From 1b753f1e27368103ce60555fa9cc47c194717a39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Thu, 25 Sep 2014 16:09:36 +0200 Subject: [PATCH] Add test for renego with proxy --- tests/ssl-opt.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 7931db34e..48e5b039d 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -2260,6 +2260,19 @@ run_test "DTLS proxy: 3d, max handshake (FS, ticket + client auth)" \ -s "Extra-header:" \ -c "HTTP/1.0 200 OK" +needs_more_time 4 +run_test "DTLS proxy: 3d, min handshake, client-initiated renegotiation" \ + -p "$P_PXY drop=5 delay=5 duplicate=5" \ + "$P_SRV dtls=1 tickets=0 auth_mode=none psk=abc123 + renegotiation=1 debug_level=2" \ + "$P_CLI dtls=1 tickets=0 psk=abc123 renegotiate=1 debug_level=2 + force_ciphersuite=TLS-PSK-WITH-AES-128-CCM-8" \ + 0 \ + -c "=> renegotiate" \ + -s "=> renegotiate" \ + -s "Extra-header:" \ + -c "HTTP/1.0 200 OK" + # Final report echo "------------------------------------------------------------------------"