Home
last modified time | relevance | path

Searched refs:client_ctx (Results 1 – 7 of 7) sorted by relevance

/third_party/libuv/test/
Dbenchmark-multi-accept.c75 struct client_ctx { struct
331 struct client_ctx* ctx = container_of(req, struct client_ctx, connect_req); in cl_connect_cb()
338 struct client_ctx* ctx = container_of(handle, struct client_ctx, idle_handle); in cl_idle_cb()
345 struct client_ctx* ctx; in cl_close_cb()
347 ctx = container_of(handle, struct client_ctx, client_handle); in cl_close_cb()
364 struct client_ctx* clients; in test_tcp()
391 struct client_ctx* ctx = clients + i; in test_tcp()
/third_party/openssl/test/
Dssl_test.c394 SSL_CTX *server_ctx = NULL, *server2_ctx = NULL, *client_ctx = NULL, in test_handshake() local
417 client_ctx = SSL_CTX_new(DTLS_client_method()); in test_handshake()
418 if (!TEST_true(SSL_CTX_set_max_proto_version(client_ctx, in test_handshake()
450 client_ctx = SSL_CTX_new(TLS_client_method()); in test_handshake()
451 if (!TEST_true(SSL_CTX_set_max_proto_version(client_ctx, in test_handshake()
476 || !TEST_ptr(client_ctx) in test_handshake()
481 || !SSL_CTX_config(client_ctx, "client")) { in test_handshake()
494 result = do_handshake(server_ctx, server2_ctx, client_ctx, in test_handshake()
504 SSL_CTX_free(client_ctx); in test_handshake()
Dhandshake_helper.c501 SSL_CTX *client_ctx, in configure_handshake_ctx() argument
520 if (!TEST_int_eq(SSL_CTX_set_max_send_fragment(client_ctx, in configure_handshake_ctx()
526 SSL_CTX_set_cert_verify_callback(client_ctx, &verify_accept_cb, NULL); in configure_handshake_ctx()
529 SSL_CTX_set_cert_verify_callback(client_ctx, &verify_reject_cb, NULL); in configure_handshake_ctx()
542 client_ctx, extra->client.max_fragment_len_mode); in configure_handshake_ctx()
573 SSL_CTX_set_tlsext_status_type(client_ctx, TLSEXT_STATUSTYPE_ocsp); in configure_handshake_ctx()
574 SSL_CTX_set_tlsext_status_cb(client_ctx, client_ocsp_cb); in configure_handshake_ctx()
575 SSL_CTX_set_tlsext_status_arg(client_ctx, NULL); in configure_handshake_ctx()
617 SSL_CTX_set_next_proto_select_cb(client_ctx, client_npn_cb, in configure_handshake_ctx()
645 || !TEST_int_eq(SSL_CTX_set_alpn_protos(client_ctx, alpn_protos, in configure_handshake_ctx()
[all …]
Dhandshake_helper.h77 SSL_CTX *client_ctx, SSL_CTX *resume_server_ctx,
/third_party/mbedtls/library/
Dnet_sockets.c340 mbedtls_net_context *client_ctx, in mbedtls_net_accept() argument
369 ret = client_ctx->fd = (int) accept( bind_ctx->fd, in mbedtls_net_accept()
408 client_ctx->fd = bind_ctx->fd; in mbedtls_net_accept()
412 if( getsockname( client_ctx->fd, in mbedtls_net_accept()
/third_party/mbedtls/include/mbedtls/
Dnet_sockets.h171 mbedtls_net_context *client_ctx,
/third_party/python/Lib/test/
Dtest_ssl.py1953 client_ctx, server_ctx, hostname = testing_context()
1958 client = client_ctx.wrap_bio(c_in, c_out, server_hostname=hostname)
3821 client_ctx, server_ctx, hostname = testing_context()
3843 client = client_ctx.wrap_socket(