Lines Matching refs:expected_ctx
32 SSL_TEST_CTX *expected_ctx; member
117 if (!TEST_ptr(fixture->expected_ctx = SSL_TEST_CTX_new(NULL))) { in set_up()
130 fixture->expected_ctx->libctx)) in execute_test()
131 || !testctx_eq(ctx, fixture->expected_ctx)) in execute_test()
142 SSL_TEST_CTX_free(fixture->expected_ctx); in tear_down()
155 fixture->expected_ctx->expected_result = SSL_TEST_SUCCESS; in test_empty_configuration()
164 fixture->expected_ctx->method = SSL_TEST_METHOD_DTLS; in test_good_configuration()
165 fixture->expected_ctx->handshake_mode = SSL_TEST_HANDSHAKE_RESUME; in test_good_configuration()
166 fixture->expected_ctx->app_data_size = 1024; in test_good_configuration()
167 fixture->expected_ctx->max_fragment_size = 2048; in test_good_configuration()
169 fixture->expected_ctx->expected_result = SSL_TEST_SERVER_FAIL; in test_good_configuration()
170 fixture->expected_ctx->expected_client_alert = SSL_AD_UNKNOWN_CA; in test_good_configuration()
171 fixture->expected_ctx->expected_server_alert = 0; /* No alert. */ in test_good_configuration()
172 fixture->expected_ctx->expected_protocol = TLS1_1_VERSION; in test_good_configuration()
173 fixture->expected_ctx->expected_servername = SSL_TEST_SERVERNAME_SERVER2; in test_good_configuration()
174 fixture->expected_ctx->session_ticket_expected = SSL_TEST_SESSION_TICKET_YES; in test_good_configuration()
175 fixture->expected_ctx->compression_expected = SSL_TEST_COMPRESSION_NO; in test_good_configuration()
176 fixture->expected_ctx->session_id_expected = SSL_TEST_SESSION_ID_IGNORE; in test_good_configuration()
177 fixture->expected_ctx->resumption_expected = 1; in test_good_configuration()
179 fixture->expected_ctx->extra.client.verify_callback = in test_good_configuration()
181 fixture->expected_ctx->extra.client.servername = SSL_TEST_SERVERNAME_SERVER2; in test_good_configuration()
182 fixture->expected_ctx->extra.client.npn_protocols = in test_good_configuration()
184 if (!TEST_ptr(fixture->expected_ctx->extra.client.npn_protocols)) in test_good_configuration()
186 fixture->expected_ctx->extra.client.max_fragment_len_mode = 0; in test_good_configuration()
188 fixture->expected_ctx->extra.server.servername_callback = in test_good_configuration()
190 fixture->expected_ctx->extra.server.broken_session_ticket = 1; in test_good_configuration()
192 fixture->expected_ctx->resume_extra.server2.alpn_protocols = in test_good_configuration()
194 if (!TEST_ptr(fixture->expected_ctx->resume_extra.server2.alpn_protocols)) in test_good_configuration()
197 fixture->expected_ctx->resume_extra.client.ct_validation = in test_good_configuration()