aboutsummaryrefslogtreecommitdiffstats
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:15:07 +0100
commitfe7dd5534176d1b04be046fcbaad24430c8727e0 (patch)
treea52e1f28548a6a15db746046d61b1a4d1fe900ef /test/ssl_test_ctx.h
parent1329b952a675c3c445b73b34bf9f09483fbc759c (diff)
downloadopenssl-fe7dd5534176d1b04be046fcbaad24430c8727e0.tar.gz
Extend the renegotiation tests
Add the ability to test both server initiated and client initiated reneg. Reviewed-by: Rich Salz <rsalz@openssl.org>
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 {