summaryrefslogtreecommitdiff
path: root/test/README.ssltest.md
diff options
context:
space:
mode:
authorEmilia Kasper <emilia@openssl.org>2016-08-16 15:11:08 +0200
committerEmilia Kasper <emilia@openssl.org>2016-08-18 12:46:00 +0200
commit6dc9974547427261db25758612b6a570083d52e6 (patch)
tree4dfaa8518da53208c3f109a3062feb540f6c742e /test/README.ssltest.md
parent9d8c2dfe14cb371d242c04a52182aa0aee25ed18 (diff)
downloadopenssl-new-6dc9974547427261db25758612b6a570083d52e6.tar.gz
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>
Diffstat (limited to 'test/README.ssltest.md')
-rw-r--r--test/README.ssltest.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/README.ssltest.md b/test/README.ssltest.md
index d6b020d01a..9c27da089b 100644
--- a/test/README.ssltest.md
+++ b/test/README.ssltest.md
@@ -60,6 +60,19 @@ When HandshakeMode is Resume or Renegotiate, the original handshake is expected
to succeed. All configured test expectations are verified against the second
handshake.
+* ApplicationData - amount of application data bytes to send (integer, defaults
+ to 256 bytes). Applies to both client and server. Application data is sent in
+ 64kB chunks (but limited by MaxFragmentSize and available parallelization, see
+ below).
+
+* MaxFragmentSize - maximum send fragment size (integer, defaults to 512 in
+ tests - see `SSL_CTX_set_max_send_fragment` for documentation). Applies to
+ both client and server. Lowering the fragment size will split handshake and
+ application data up between more `SSL_write` calls, thus allowing to exercise
+ different code paths. In particular, if the buffer size (64kB) is at least
+ four times as large as the maximum fragment, interleaved multi-buffer crypto
+ implementations may be used on some platforms.
+
### Test expectations
* ExpectedResult - expected handshake outcome. One of