Port multi-buffer tests
Make maximum fragment length configurable and add various fragmentation
tests, in addition to the existing multi-buffer tests.
Reviewed-by: Rich Salz <rsalz@openssl.org>
diff --git a/test/ssl_test_ctx.h b/test/ssl_test_ctx.h
index 1074f8e..11b6c33 100644
--- a/test/ssl_test_ctx.h
+++ b/test/ssl_test_ctx.h
@@ -109,6 +109,8 @@
* Both peers will send |app_data_size| bytes interleaved.
*/
int app_data_size;
+ /* Maximum send fragment size. */
+ int max_fragment_size;
/*
* Extra server/client configurations. Per-handshake.