From 51362961b8800e13e81e036662f2a817b4763ad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Sat, 30 Aug 2014 21:22:47 +0200 Subject: [PATCH] Add interop testing of renegotiation --- tests/ssl-opt.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 9c4119747..7986af1e0 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -771,6 +771,28 @@ run_test "Renegotiation #11 (nbio, enabled, server-initiated)" \ -s "=> renegotiate" \ -s "write hello request" +run_test "Renegotiation #12 (openssl server)" \ + "$O_SRV" \ + "$P_CLI debug_level=4 exchanges=1 renegotiation=1 renegotiate=1" \ + 0 \ + -c "client hello, adding renegotiation extension" \ + -c "found renegotiation extension" \ + -c "=> renegotiate" \ + -C "ssl_handshake returned" \ + -C "error" \ + -c "HTTP/1.0 200 [Oo][Kk]" + +run_test "Renegotiation #13 (gnutls server)" \ + "$G_SRV" \ + "$P_CLI debug_level=4 exchanges=1 renegotiation=1 renegotiate=1" \ + 0 \ + -c "client hello, adding renegotiation extension" \ + -c "found renegotiation extension" \ + -c "=> renegotiate" \ + -C "ssl_handshake returned" \ + -C "error" \ + -c "HTTP/1.0 200 [Oo][Kk]" + # Tests for auth_mode run_test "Authentication #1 (server badcert, client required)" \