summaryrefslogtreecommitdiffstats
path: root/test/ssl_test_ctx.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-09-27 12:50:43 +0200
committerMatt Caswell <matt@openssl.org>2016-09-28 10:15:07 +0200
commitfe7dd5534176d1b04be046fcbaad24430c8727e0 (patch)
treea52e1f28548a6a15db746046d61b1a4d1fe900ef /test/ssl_test_ctx.h
parentUpdate README.ssltest.md (diff)
downloadopenssl-fe7dd5534176d1b04be046fcbaad24430c8727e0.tar.xz
openssl-fe7dd5534176d1b04be046fcbaad24430c8727e0.zip
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 {