diff options
author | Matt Caswell <matt@openssl.org> | 2017-02-15 09:25:52 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-02-17 10:28:01 +0000 |
commit | 9b92f161708e31de87cf8df0d58e3f99bd7d1724 (patch) | |
tree | 4439bb9f660184cef9a8d1a2530a8e5fb51e296b /test/ssl_test_ctx.h | |
parent | 398206375688f053774ab0622a59db69fb2e2b99 (diff) |
Add some KeyUpdate tests
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2609)
Diffstat (limited to 'test/ssl_test_ctx.h')
-rw-r--r-- | test/ssl_test_ctx.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/ssl_test_ctx.h b/test/ssl_test_ctx.h index 6036a02bc9..eaeee1fd3c 100644 --- a/test/ssl_test_ctx.h +++ b/test/ssl_test_ctx.h @@ -57,7 +57,9 @@ typedef enum { SSL_TEST_HANDSHAKE_SIMPLE = 0, /* Default */ SSL_TEST_HANDSHAKE_RESUME, SSL_TEST_HANDSHAKE_RENEG_SERVER, - SSL_TEST_HANDSHAKE_RENEG_CLIENT + SSL_TEST_HANDSHAKE_RENEG_CLIENT, + SSL_TEST_HANDSHAKE_KEY_UPDATE_SERVER, + SSL_TEST_HANDSHAKE_KEY_UPDATE_CLIENT } ssl_handshake_mode_t; typedef enum { @@ -121,6 +123,8 @@ typedef struct { int app_data_size; /* Maximum send fragment size. */ int max_fragment_size; + /* KeyUpdate type */ + SSL_KEY_UPDATE key_update_type; /* * Extra server/client configurations. Per-handshake. |