summaryrefslogtreecommitdiffstats
path: root/test/ssl_test_ctx.h
diff options
context:
space:
mode:
authorEmilia Kasper <emilia@openssl.org>2016-08-11 20:51:57 +0200
committerEmilia Kasper <emilia@openssl.org>2016-08-16 11:00:15 +0200
commite0421bd8b203b8c4e460c99740b5684600a503da (patch)
tree89647a0764e147b7670d42514939cfc4ebc4e4ea /test/ssl_test_ctx.h
parentffb261ff192b1af83726305aee17d025ff8fe352 (diff)
SSL tests: send some application data
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/ssl_test_ctx.h')
-rw-r--r--test/ssl_test_ctx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ssl_test_ctx.h b/test/ssl_test_ctx.h
index 916b31aa89..1074f8ee72 100644
--- a/test/ssl_test_ctx.h
+++ b/test/ssl_test_ctx.h
@@ -104,6 +104,11 @@ typedef struct {
ssl_test_method_t method;
/* Whether to test a resumed/renegotiated handshake. */
ssl_handshake_mode_t handshake_mode;
+ /*
+ * How much application data to exchange (default is 256 bytes).
+ * Both peers will send |app_data_size| bytes interleaved.
+ */
+ int app_data_size;
/*
* Extra server/client configurations. Per-handshake.