summaryrefslogtreecommitdiffstats
path: root/test/ssl_test_ctx.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-09-27 11:50:43 +0100
committerMatt Caswell <matt@openssl.org>2016-09-28 09:18:46 +0100
commitf1522af442d4154db28928ab178c258f07ed4c5e (patch)
tree1fdd234e9e5d64d631b6401c1024883865bdd16f /test/ssl_test_ctx.h
parentd17300093cfc1994891cc50909bb2bc88237de7d (diff)
Extend the renegotiation tests
Add the ability to test both server initiated and client initiated reneg. Reviewed-by: Rich Salz <rsalz@openssl.org> (cherry picked from commit fe7dd5534176d1b04be046fcbaad24430c8727e0)
Diffstat (limited to 'test/ssl_test_ctx.h')
-rw-r--r--test/ssl_test_ctx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ssl_test_ctx.h b/test/ssl_test_ctx.h
index 73e223a2d5..14acaff6f7 100644
--- a/test/ssl_test_ctx.h
+++ b/test/ssl_test_ctx.h
@@ -56,7 +56,8 @@ typedef enum {
typedef enum {
SSL_TEST_HANDSHAKE_SIMPLE = 0, /* Default */
SSL_TEST_HANDSHAKE_RESUME,
- SSL_TEST_HANDSHAKE_RENEGOTIATE
+ SSL_TEST_HANDSHAKE_RENEG_SERVER,
+ SSL_TEST_HANDSHAKE_RENEG_CLIENT
} ssl_handshake_mode_t;
typedef enum {