mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 22:34:17 +01:00
Add interop testing of renegotiation
This commit is contained in:
parent
f2629b965e
commit
51362961b8
@ -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 New Issue
Block a user