summaryrefslogtreecommitdiffstats
path: root/test/handshake_helper.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2017-01-08 00:09:08 +0000
committerDr. Stephen Henson <steve@openssl.org>2017-01-08 19:36:59 +0000
commitb93ad05dba3e3d2ceb79799a883ae43d42ba16e2 (patch)
tree8c7c244aa9467a0c958906bc598083e6c2eaa090 /test/handshake_helper.h
parentc82bafc52e4a22c91a0871436727e7a3fd45d75b (diff)
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/handshake_helper.h')
-rw-r--r--test/handshake_helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/handshake_helper.h b/test/handshake_helper.h
index 8425b2aa61..4f70592a18 100644
--- a/test/handshake_helper.h
+++ b/test/handshake_helper.h
@@ -43,6 +43,8 @@ typedef struct handshake_result {
/* Was the handshake resumed? */
int client_resumed;
int server_resumed;
+ /* Temporary key type */
+ int tmp_key_type;
} HANDSHAKE_RESULT;
HANDSHAKE_RESULT *HANDSHAKE_RESULT_new(void);