X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=test%2Fssl_test_ctx.h;h=f67f01ad877e201e9b2f80196b51ea8ebfe726f5;hp=c8c66d6d709a4a1767d32c4bd16c8e3ffcb6bfcf;hb=4f326dd8998d5b33f72b11432f110e0f2cfcb92b;hpb=767ccc3b77cde82c46ab4af541663f6c80e538d3 diff --git a/test/ssl_test_ctx.h b/test/ssl_test_ctx.h index c8c66d6d70..f67f01ad87 100644 --- a/test/ssl_test_ctx.h +++ b/test/ssl_test_ctx.h @@ -56,8 +56,8 @@ typedef enum { typedef enum { SSL_TEST_HANDSHAKE_SIMPLE = 0, /* Default */ SSL_TEST_HANDSHAKE_RESUME, - /* Not yet implemented */ - SSL_TEST_HANDSHAKE_RENEGOTIATE + SSL_TEST_HANDSHAKE_RENEG_SERVER, + SSL_TEST_HANDSHAKE_RENEG_CLIENT } ssl_handshake_mode_t; typedef enum { @@ -159,6 +159,12 @@ 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; + /* 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);