File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -190,3 +190,10 @@ send_large_fragmented_hello:MBEDTLS_SSL_IN_BUFFER_LEN - MBEDTLS_SSL_HEADER_LEN -
190190# got around to checking it confirms reassembly completed sucessfully.
191191Send large fragmented ClientHello: just fits
192192send_large_fragmented_hello:MBEDTLS_SSL_IN_BUFFER_LEN - MBEDTLS_SSL_HEADER_LEN - 9:0:"Unsupported version of TLS":MBEDTLS_ERR_SSL_BAD_PROTOCOL_VERSION
193+
194+ # We're generating a virtual record header for the reassembled HS message,
195+ # which requires that the length fits in two bytes. Of course we won't get
196+ # there because if the length doesn't fit in two bytes then the message won't
197+ # fit in the buffer, but still add a test just in case.
198+ Send large fragmented ClientHello: length doesn't fit in two bytes
199+ send_large_fragmented_hello:0x10000:0:"requesting more data than fits":MBEDTLS_ERR_SSL_BAD_INPUT_DATA
You can’t perform that action at this time.
0 commit comments