@@ -21,36 +21,6 @@ int main(int argc, char **argv)
2121{
2222 BEGIN_TEST ();
2323
24- /* Default config kTLS mode */
25- {
26- DEFER_CLEANUP (struct s2n_config * config = s2n_config_new (), s2n_config_ptr_free );
27- EXPECT_NOT_NULL (config );
28- EXPECT_FALSE (config -> ktls_send_requested );
29- EXPECT_FALSE (config -> ktls_recv_requested );
30- };
31-
32- /* Request config kTLS mode */
33- {
34- DEFER_CLEANUP (struct s2n_config * config = s2n_config_new (), s2n_config_ptr_free );
35- EXPECT_NOT_NULL (config );
36-
37- EXPECT_SUCCESS (s2n_config_set_ktls_mode (config , S2N_KTLS_MODE_SEND ));
38- EXPECT_TRUE (config -> ktls_send_requested );
39- EXPECT_FALSE (config -> ktls_recv_requested );
40-
41- EXPECT_SUCCESS (s2n_config_set_ktls_mode (config , S2N_KTLS_MODE_RECV ));
42- EXPECT_FALSE (config -> ktls_send_requested );
43- EXPECT_TRUE (config -> ktls_recv_requested );
44-
45- EXPECT_SUCCESS (s2n_config_set_ktls_mode (config , S2N_KTLS_MODE_DISABLED ));
46- EXPECT_FALSE (config -> ktls_send_requested );
47- EXPECT_FALSE (config -> ktls_recv_requested );
48-
49- EXPECT_SUCCESS (s2n_config_set_ktls_mode (config , S2N_KTLS_MODE_DUPLEX ));
50- EXPECT_TRUE (config -> ktls_send_requested );
51- EXPECT_TRUE (config -> ktls_recv_requested );
52- };
53-
5424 /* Default connection kTLS mode */
5525 {
5626 DEFER_CLEANUP (struct s2n_connection * conn = s2n_connection_new (S2N_CLIENT ),
0 commit comments