mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 19:15:45 +01:00
Add test for fragmentation + renego with GnuTLS
This commit is contained in:
parent
ac03052f22
commit
0c4cbc7895
@ -2006,6 +2006,34 @@ run_test "DTLS reassembly: more fragmentation, nbio (gnutls server)" \
|
|||||||
-c "found fragmented DTLS handshake message" \
|
-c "found fragmented DTLS handshake message" \
|
||||||
-C "error"
|
-C "error"
|
||||||
|
|
||||||
|
requires_gnutls
|
||||||
|
not_with_valgrind
|
||||||
|
run_test "DTLS reassembly: fragmentation, renego (gnutls server)" \
|
||||||
|
"$G_SRV -u --mtu 256" \
|
||||||
|
"$P_CLI debug_level=3 dtls=1 renegotiation=1 renegotiate=1" \
|
||||||
|
0 \
|
||||||
|
-c "found fragmented DTLS handshake message" \
|
||||||
|
-c "client hello, adding renegotiation extension" \
|
||||||
|
-c "found renegotiation extension" \
|
||||||
|
-c "=> renegotiate" \
|
||||||
|
-C "ssl_handshake returned" \
|
||||||
|
-C "error" \
|
||||||
|
-s "Extra-header:"
|
||||||
|
|
||||||
|
requires_gnutls
|
||||||
|
not_with_valgrind
|
||||||
|
run_test "DTLS reassembly: fragmentation, nbio, renego (gnutls server)" \
|
||||||
|
"$G_SRV -u --mtu 256" \
|
||||||
|
"$P_CLI debug_level=3 nbio=2 dtls=1 renegotiation=1 renegotiate=1" \
|
||||||
|
0 \
|
||||||
|
-c "found fragmented DTLS handshake message" \
|
||||||
|
-c "client hello, adding renegotiation extension" \
|
||||||
|
-c "found renegotiation extension" \
|
||||||
|
-c "=> renegotiate" \
|
||||||
|
-C "ssl_handshake returned" \
|
||||||
|
-C "error" \
|
||||||
|
-s "Extra-header:"
|
||||||
|
|
||||||
not_with_valgrind
|
not_with_valgrind
|
||||||
run_test "DTLS reassembly: no fragmentation (openssl server)" \
|
run_test "DTLS reassembly: no fragmentation (openssl server)" \
|
||||||
"$O_SRV -dtls1 -mtu 2048" \
|
"$O_SRV -dtls1 -mtu 2048" \
|
||||||
@ -2038,8 +2066,6 @@ run_test "DTLS reassembly: fragmentation, nbio (openssl server)" \
|
|||||||
-c "found fragmented DTLS handshake message" \
|
-c "found fragmented DTLS handshake message" \
|
||||||
-C "error"
|
-C "error"
|
||||||
|
|
||||||
# TODO: fragmentation with renegotiation, openssl + gnutls
|
|
||||||
|
|
||||||
# Final report
|
# Final report
|
||||||
|
|
||||||
echo "------------------------------------------------------------------------"
|
echo "------------------------------------------------------------------------"
|
||||||
|
Loading…
Reference in New Issue
Block a user