2025-10-22, 10:19:37 +1000, Wilfred Mallawa wrote: > From: Wilfred Mallawa <[email protected]> > > Test that outgoing plaintext records respect the tls TLS_TX_MAX_PAYLOAD_LEN > set using setsockopt(). The limit is set to be 128, thus, in all received > records, the plaintext must not exceed this amount. > > Also test that setting a new record size limit whilst a pending open > record exists is handled correctly by discarding the request. > > Suggested-by: Sabrina Dubroca <[email protected]> > Signed-off-by: Wilfred Mallawa <[email protected]> > --- > V7 -> V8: > - Drop TLS 1.3 tests for the removed getsockopt() changes from V7 > --- > tools/testing/selftests/net/tls.c | 141 ++++++++++++++++++++++++++++++ > 1 file changed, 141 insertions(+)
Reviewed-by: Sabrina Dubroca <[email protected]> -- Sabrina
