diff options
author | Matt Caswell <matt@openssl.org> | 2016-09-27 11:50:43 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-09-28 09:15:07 +0100 |
commit | fe7dd5534176d1b04be046fcbaad24430c8727e0 (patch) | |
tree | a52e1f28548a6a15db746046d61b1a4d1fe900ef /test/ssl_test_ctx.c | |
parent | 1329b952a675c3c445b73b34bf9f09483fbc759c (diff) | |
download | openssl-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.c')
-rw-r--r-- | test/ssl_test_ctx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ssl_test_ctx.c b/test/ssl_test_ctx.c index ee2e8a1088..0a528d805b 100644 --- a/test/ssl_test_ctx.c +++ b/test/ssl_test_ctx.c @@ -339,7 +339,8 @@ IMPLEMENT_SSL_TEST_STRING_OPTION(SSL_TEST_CTX, test, expected_alpn_protocol) static const test_enum ssl_handshake_modes[] = { {"Simple", SSL_TEST_HANDSHAKE_SIMPLE}, {"Resume", SSL_TEST_HANDSHAKE_RESUME}, - {"Renegotiate", SSL_TEST_HANDSHAKE_RENEGOTIATE}, + {"RenegotiateServer", SSL_TEST_HANDSHAKE_RENEG_SERVER}, + {"RenegotiateClient", SSL_TEST_HANDSHAKE_RENEG_CLIENT}, }; __owur static int parse_handshake_mode(SSL_TEST_CTX *test_ctx, const char *value) |