From f1499f602e9a5326dad28db4b5e97d4934fd5712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Sun, 31 Aug 2014 17:13:13 +0200 Subject: [PATCH] Add interop testing for renego with GnuTLS --- tests/ssl-opt.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 4945cf1f0..a2c13ccc0 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -891,6 +891,18 @@ run_test "Renegotiation: DTLS, server-initiated" \ -s "=> renegotiate" \ -s "write hello request" +not_with_valgrind +run_test "Renegotiation: DTLS, gnutls server, client-initiated" \ + "$G_SRV -u --mtu 4096" \ + "$P_CLI debug_level=3 dtls=1 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" \ + -s "Extra-header:" + # Tests for auth_mode run_test "Authentication: server badcert, client required" \