X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=test%2Fssl_test_ctx.h;h=14acaff6f7aaa1eda403e23b3f75d54ac6e9b505;hb=d18afb5bf29dc3b81b5f7a9eda2abde35041a441;hp=11b6c3332143b8949deec0529a8396e6d9a5dc5c;hpb=6dc9974547427261db25758612b6a570083d52e6;p=oweals%2Fopenssl.git diff --git a/test/ssl_test_ctx.h b/test/ssl_test_ctx.h index 11b6c33321..14acaff6f7 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 { @@ -65,6 +65,12 @@ typedef enum { SSL_TEST_CT_VALIDATION_PERMISSIVE, SSL_TEST_CT_VALIDATION_STRICT } ssl_ct_validation_t; + +typedef enum { + SSL_TEST_CERT_STATUS_NONE = 0, /* Default */ + SSL_TEST_CERT_STATUS_GOOD_RESPONSE, + SSL_TEST_CERT_STATUS_BAD_RESPONSE +} ssl_cert_status_t; /* * Server/client settings that aren't supported by the SSL CONF library, * such as callbacks. @@ -88,6 +94,8 @@ typedef struct { char *alpn_protocols; /* Whether to set a broken session ticket callback. */ int broken_session_ticket; + /* Should we send a CertStatus message? */ + ssl_cert_status_t cert_status; } SSL_TEST_SERVER_CONF; typedef struct { @@ -164,6 +172,7 @@ const char *ssl_session_ticket_name(ssl_session_ticket_t server); const char *ssl_test_method_name(ssl_test_method_t method); const char *ssl_handshake_mode_name(ssl_handshake_mode_t mode); const char *ssl_ct_validation_name(ssl_ct_validation_t mode); +const char *ssl_certstatus_name(ssl_cert_status_t cert_status); /* * Load the test case context from |conf|.