mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-25 07:18:49 +00:00
Add interop testing of renegotiation
This commit is contained in:
parent
f2629b965e
commit
51362961b8
1 changed files with 22 additions and 0 deletions
|
@ -771,6 +771,28 @@ run_test "Renegotiation #11 (nbio, enabled, server-initiated)" \
|
||||||
-s "=> renegotiate" \
|
-s "=> renegotiate" \
|
||||||
-s "write hello request"
|
-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
|
# Tests for auth_mode
|
||||||
|
|
||||||
run_test "Authentication #1 (server badcert, client required)" \
|
run_test "Authentication #1 (server badcert, client required)" \
|
||||||
|
|
Loading…
Reference in a new issue