diff options
Diffstat (limited to 'test/ssl_test_ctx.h')
-rw-r--r-- | test/ssl_test_ctx.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/ssl_test_ctx.h b/test/ssl_test_ctx.h index c551a9baa7..a96245eec7 100644 --- a/test/ssl_test_ctx.h +++ b/test/ssl_test_ctx.h @@ -84,6 +84,18 @@ typedef struct ssl_test_ctx { ssl_session_ticket_t session_ticket_expected; /* Whether the server/client CTX should use DTLS or TLS. */ ssl_test_method_t method; + /* + * NPN and ALPN protocols supported by the client, server, and second + * (SNI) server. A comma-separated list. + */ + char *client_npn_protocols; + char *server_npn_protocols; + char *server2_npn_protocols; + char *expected_npn_protocol; + char *client_alpn_protocols; + char *server_alpn_protocols; + char *server2_alpn_protocols; + char *expected_alpn_protocol; } SSL_TEST_CTX; const char *ssl_test_result_name(ssl_test_result_t result); |