diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 51c3fd0c6..8bf7d97bf 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -1088,9 +1088,10 @@ run_test "Renegotiation: periodic, just below period" \ -S "SSL - An unexpected message was received from our peer" \ -S "failed" +# one extra exchange to be able to complete renego run_test "Renegotiation: periodic, just above period" \ "$P_SRV debug_level=3 exchanges=9 renegotiation=1 renego_period=3" \ - "$P_CLI debug_level=3 exchanges=3 renegotiation=1" \ + "$P_CLI debug_level=3 exchanges=4 renegotiation=1" \ 0 \ -c "client hello, adding renegotiation extension" \ -s "received TLS_EMPTY_RENEGOTIATION_INFO" \ @@ -1106,7 +1107,7 @@ run_test "Renegotiation: periodic, just above period" \ run_test "Renegotiation: periodic, two times period" \ "$P_SRV debug_level=3 exchanges=9 renegotiation=1 renego_period=3" \ - "$P_CLI debug_level=3 exchanges=6 renegotiation=1" \ + "$P_CLI debug_level=3 exchanges=7 renegotiation=1" \ 0 \ -c "client hello, adding renegotiation extension" \ -s "received TLS_EMPTY_RENEGOTIATION_INFO" \