aboutsummaryrefslogtreecommitdiffstats
path: root/test/ssl_test_ctx.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2017-01-08 19:30:41 +0000
committerDr. Stephen Henson <steve@openssl.org>2017-01-15 00:23:33 +0000
commit7f5f35af223f9c1d641f46446f6bbf9d1493a9e6 (patch)
treead1997b23e2dcb3df7b67358b2d378e271663316 /test/ssl_test_ctx.h
parent5071824321e1bbe20b859c1a3609ea5ab09fb3f2 (diff)
downloadopenssl-7f5f35af223f9c1d641f46446f6bbf9d1493a9e6.tar.gz
Add options to check certificate types.
Reviewed-by: Emilia Käsper <emilia@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2224)
Diffstat (limited to 'test/ssl_test_ctx.h')
-rw-r--r--test/ssl_test_ctx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ssl_test_ctx.h b/test/ssl_test_ctx.h
index 995d518ed3..f67f01ad87 100644
--- a/test/ssl_test_ctx.h
+++ b/test/ssl_test_ctx.h
@@ -161,6 +161,10 @@ typedef struct {
int resumption_expected;
/* Expected temporary key type */
int expected_tmp_key_type;
+ /* Expected server certificate key type */
+ int expected_server_cert_type;
+ /* Expected client certificate key type */
+ int expected_client_cert_type;
} SSL_TEST_CTX;
const char *ssl_test_result_name(ssl_test_result_t result);