Lines Matching refs:current_test_vector

371 static int test_invalidsyntax(const struct tls13groupselection_test_st *current_test_vector,  in test_invalidsyntax()  argument
378 if (!TEST_ptr(current_test_vector->client_groups) in test_invalidsyntax()
379 || !TEST_size_t_ne(strlen(current_test_vector->client_groups), 0)) in test_invalidsyntax()
392 current_test_vector->client_groups)); in test_invalidsyntax()
400 TEST_false_or_end(SSL_set1_groups_list(clientssl, current_test_vector->client_groups)); in test_invalidsyntax()
413 static int test_groupnegotiation(const struct tls13groupselection_test_st *current_test_vector, in test_groupnegotiation() argument
433 if (current_test_vector->client_groups != NULL) { in test_groupnegotiation()
435 current_test_vector->client_groups)); in test_groupnegotiation()
437 if (current_test_vector->server_groups != NULL) { in test_groupnegotiation()
439 current_test_vector->server_groups)); in test_groupnegotiation()
443 if (current_test_vector->preference == SERVER_PREFERENCE) in test_groupnegotiation()
454 if (current_test_vector->client_groups != NULL) in test_groupnegotiation()
455 TEST_true_or_end(SSL_set1_groups_list(clientssl, current_test_vector->client_groups)); in test_groupnegotiation()
457 if (current_test_vector->server_groups != NULL) in test_groupnegotiation()
458 TEST_true_or_end(SSL_set1_groups_list(serverssl, current_test_vector->server_groups)); in test_groupnegotiation()
463 if (current_test_vector->preference == SERVER_PREFERENCE) in test_groupnegotiation()
486 if (!TEST_int_eq((int)current_test_vector->expected_server_response, (int)server_response)) in test_groupnegotiation()
488 if (TEST_str_eq(group_name_client, current_test_vector->expected_group)) in test_groupnegotiation()