diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2017-01-08 00:09:08 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2017-01-08 19:36:59 +0000 |
commit | b93ad05dba3e3d2ceb79799a883ae43d42ba16e2 (patch) | |
tree | 8c7c244aa9467a0c958906bc598083e6c2eaa090 /test/ssl_test_ctx.h | |
parent | c82bafc52e4a22c91a0871436727e7a3fd45d75b (diff) | |
download | openssl-b93ad05dba3e3d2ceb79799a883ae43d42ba16e2.tar.gz |
Add new ssl_test option.
Add option ExpectedTmpKeyType to test the temporary key the server
sends is of the correct type.
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2191)
Diffstat (limited to 'test/ssl_test_ctx.h')
-rw-r--r-- | test/ssl_test_ctx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ssl_test_ctx.h b/test/ssl_test_ctx.h index 14acaff6f7..995d518ed3 100644 --- a/test/ssl_test_ctx.h +++ b/test/ssl_test_ctx.h @@ -159,6 +159,8 @@ typedef struct { char *expected_alpn_protocol; /* Whether the second handshake is resumed or a full handshake (boolean). */ int resumption_expected; + /* Expected temporary key type */ + int expected_tmp_key_type; } SSL_TEST_CTX; const char *ssl_test_result_name(ssl_test_result_t result); |