Lines Matching refs:clnt_ssl
51 SSL *srvr_ssl = NULL, *clnt_ssl = NULL; in mtu_test() local
62 if (!TEST_true(create_ssl_objects(ctx, ctx, &srvr_ssl, &clnt_ssl, in mtu_test()
70 || !TEST_true(SSL_set_cipher_list(clnt_ssl, cs)) in mtu_test()
72 || !TEST_true(create_ssl_connection(clnt_ssl, srvr_ssl, in mtu_test()
82 SSL_set_mtu(clnt_ssl, 500 + i); in mtu_test()
83 mtus[i] = DTLS_get_data_mtu(clnt_ssl); in mtu_test()
95 SSL_set_mtu(clnt_ssl, 1000); in mtu_test()
104 if (!TEST_int_eq(SSL_write(clnt_ssl, buf, s), (int)s)) in mtu_test()
136 if (!TEST_ptr(clnt_sc = SSL_CONNECTION_FROM_SSL_ONLY(clnt_ssl))) in mtu_test()
142 SSL_free(clnt_ssl); in mtu_test()
197 SSL *srvr_ssl = NULL, *clnt_ssl = NULL; in test_server_mtu_larger_than_max_fragment_length() local
211 if (!TEST_true(create_ssl_objects(ctx, ctx, &srvr_ssl, &clnt_ssl, in test_server_mtu_larger_than_max_fragment_length()
219 SSL_set_tlsext_max_fragment_length(clnt_ssl, in test_server_mtu_larger_than_max_fragment_length()
222 if (!TEST_true(create_ssl_connection(srvr_ssl, clnt_ssl, in test_server_mtu_larger_than_max_fragment_length()
229 SSL_free(clnt_ssl); in test_server_mtu_larger_than_max_fragment_length()