mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-20 22:05:15 +00:00
Add a missing requires_max_content_len
Slightly reduce the amount of data so that the test passes with 512. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
c6d197b68a
commit
588d7a7538
1 changed files with 3 additions and 2 deletions
|
|
@ -6616,11 +6616,12 @@ run_test "mbedtls_ssl_get_bytes_avail: no extra data" \
|
|||
-s "Read from client: 100 bytes read$"
|
||||
|
||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||
requires_max_content_len 474
|
||||
run_test "mbedtls_ssl_get_bytes_avail: extra data" \
|
||||
"$P_SRV" \
|
||||
"$P_CLI request_size=500" \
|
||||
"$P_CLI request_size=450" \
|
||||
0 \
|
||||
-s "Read from client: 500 bytes read (.*+.*)"
|
||||
-s "Read from client: 450 bytes read (.*+.*)"
|
||||
|
||||
# Tests for small client packets
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue