SSL tests: send some application data
[openssl.git] / test / ssl_test_ctx.h
index 916b31aa89acdfa20f15197af5ee6d91a1ca5ff1..1074f8ee72a26a60185118dfaf41266cc86a3001 100644 (file)
@@ -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.