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:18:46 +0100 |
commit | f1522af442d4154db28928ab178c258f07ed4c5e (patch) | |
tree | 1fdd234e9e5d64d631b6401c1024883865bdd16f /test/ssl_test_ctx.c | |
parent | d17300093cfc1994891cc50909bb2bc88237de7d (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.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) |