• Home
  • Raw
  • Download

Lines Matching refs:client_ctx

1560                                    SSL_CTX *client_ctx, SSL_CTX *server_ctx,  in ConnectClientAndServer()  argument
1564 bssl::UniquePtr<SSL> client(SSL_new(client_ctx)), server(SSL_new(server_ctx)); in ConnectClientAndServer()
1728 bssl::UniquePtr<SSL_CTX> client_ctx(SSL_CTX_new(TLS_method())); in TEST() local
1730 ASSERT_TRUE(client_ctx); in TEST()
1741 ASSERT_TRUE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()
2079 SSL_CTX *client_ctx, SSL_CTX *server_ctx, in CreateClientSession() argument
2082 SSL_CTX_sess_set_new_cb(client_ctx, SaveLastSession); in CreateClientSession()
2086 if (!ConnectClientAndServer(&client, &server, client_ctx, server_ctx, in CreateClientSession()
2095 SSL_CTX_sess_set_new_cb(client_ctx, nullptr); in CreateClientSession()
2104 static void ExpectSessionReused(SSL_CTX *client_ctx, SSL_CTX *server_ctx, in ExpectSessionReused() argument
2110 ConnectClientAndServer(&client, &server, client_ctx, server_ctx, config)); in ExpectSessionReused()
2118 static bssl::UniquePtr<SSL_SESSION> ExpectSessionRenewed(SSL_CTX *client_ctx, in ExpectSessionRenewed() argument
2122 SSL_CTX_sess_set_new_cb(client_ctx, SaveLastSession); in ExpectSessionRenewed()
2127 if (!ConnectClientAndServer(&client, &server, client_ctx, server_ctx, in ExpectSessionRenewed()
2146 SSL_CTX_sess_set_new_cb(client_ctx, nullptr); in ExpectSessionRenewed()
2574 bssl::UniquePtr<SSL_CTX> client_ctx(SSL_CTX_new(TLS_method())); in TEST() local
2578 ASSERT_TRUE(client_ctx); in TEST()
2581 ASSERT_TRUE(SSL_CTX_set_max_proto_version(client_ctx.get(), TLS1_3_VERSION)); in TEST()
2595 ASSERT_TRUE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()
3130 bssl::UniquePtr<SSL_CTX> client_ctx(SSL_CTX_new(TLS_with_buffers_method())); in TEST() local
3131 ASSERT_TRUE(client_ctx); in TEST()
3149 client_ctx.get(), SSL_VERIFY_PEER, in TEST()
3155 ASSERT_TRUE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()
3160 bssl::UniquePtr<SSL_CTX> client_ctx(SSL_CTX_new(TLS_with_buffers_method())); in TEST() local
3161 ASSERT_TRUE(client_ctx); in TEST()
3176 ASSERT_FALSE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()
3181 client_ctx.get(), SSL_VERIFY_PEER, in TEST()
3185 ASSERT_TRUE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()
3190 bssl::UniquePtr<SSL_CTX> client_ctx(SSL_CTX_new(TLS_with_buffers_method())); in TEST() local
3191 ASSERT_TRUE(client_ctx); in TEST()
3204 client_ctx.get(), SSL_VERIFY_PEER, in TEST()
3210 ASSERT_TRUE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()
3216 client_ctx.get(), SSL_VERIFY_PEER, in TEST()
3221 ASSERT_FALSE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()
3227 client_ctx.get(), SSL_VERIFY_NONE, in TEST()
3232 ASSERT_TRUE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()
3237 bssl::UniquePtr<SSL_CTX> client_ctx(SSL_CTX_new(TLS_with_buffers_method())); in TEST() local
3238 ASSERT_TRUE(client_ctx); in TEST()
3267 client_ctx.get(), SSL_VERIFY_PEER, in TEST()
3279 client_ctx.get(), in TEST()
3293 ASSERT_TRUE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()
3427 SSL_CTX *client_ctx, SSL_CTX *server_ctx, unsigned retry_count, in ConnectClientAndServerWithTicketMethod() argument
3429 bssl::UniquePtr<SSL> client(SSL_new(client_ctx)), server(SSL_new(server_ctx)); in ConnectClientAndServerWithTicketMethod()
3477 bssl::UniquePtr<SSL_CTX> client_ctx(SSL_CTX_new(TLS_method())); in TEST_P() local
3478 ASSERT_TRUE(client_ctx); in TEST_P()
3487 ASSERT_TRUE(SSL_CTX_set_min_proto_version(client_ctx.get(), version)); in TEST_P()
3488 ASSERT_TRUE(SSL_CTX_set_max_proto_version(client_ctx.get(), version)); in TEST_P()
3492 SSL_CTX_set_session_cache_mode(client_ctx.get(), SSL_SESS_CACHE_BOTH); in TEST_P()
3494 SSL_CTX_set_current_time_cb(client_ctx.get(), FrozenTimeCallback); in TEST_P()
3496 SSL_CTX_sess_set_new_cb(client_ctx.get(), SaveLastSession); in TEST_P()
3501 ConnectClientAndServerWithTicketMethod(&client, &server, client_ctx.get(), in TEST_P()
3521 ConnectClientAndServerWithTicketMethod(&client, &server, client_ctx.get(), in TEST_P()
3631 bssl::UniquePtr<SSL_CTX> client_ctx(SSL_CTX_new(TLS_method())), in TEST() local
3633 ASSERT_TRUE(client_ctx); in TEST()
3644 ASSERT_TRUE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()
3674 bssl::UniquePtr<SSL_CTX> client_ctx(SSL_CTX_new(TLS_method())), in TEST() local
3676 ASSERT_TRUE(client_ctx); in TEST()
3687 ASSERT_TRUE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()
3712 bssl::UniquePtr<SSL_CTX> client_ctx(SSL_CTX_new(TLS_method())), in TEST() local
3714 ASSERT_TRUE(client_ctx); in TEST()
3725 ASSERT_TRUE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()
3751 bssl::UniquePtr<SSL_CTX> client_ctx(SSL_CTX_new(TLS_method())), in TEST() local
3753 ASSERT_TRUE(client_ctx); in TEST()
3764 ASSERT_TRUE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()
3978 bssl::UniquePtr<SSL_CTX> client_ctx(SSL_CTX_new(TLS_method())); in TEST() local
3980 ASSERT_TRUE(client_ctx); in TEST()
3990 ASSERT_TRUE(SSL_CTX_set_max_proto_version(client_ctx.get(), TLS1_3_VERSION)); in TEST()
3993 client_ctx.get(), 0x1234, XORCompressFunc, XORDecompressFunc)); in TEST()
3998 ASSERT_TRUE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()
4019 bssl::UniquePtr<SSL_CTX> client_ctx(SSL_CTX_new(TLS_method())); in TEST() local
4022 ASSERT_TRUE(client_ctx); in TEST()
4039 ASSERT_TRUE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()
4096 bssl::UniquePtr<SSL_CTX> client_ctx(SSL_CTX_new(TLS_method())); in TEST() local
4098 ASSERT_TRUE(client_ctx); in TEST()
4112 ASSERT_TRUE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()
4369 bssl::UniquePtr<SSL_CTX> client_ctx(SSL_CTX_new(TLS_method())); in TEST() local
4370 EXPECT_TRUE(SSL_CTX_set_max_proto_version(client_ctx.get(), TLS1_3_VERSION)); in TEST()
4371 EXPECT_TRUE(SSL_CTX_set_min_proto_version(client_ctx.get(), TLS1_3_VERSION)); in TEST()
4374 ASSERT_TRUE(ConnectClientAndServer(&client, &server, client_ctx.get(), in TEST()