aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/security
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-07-13 13:53:45 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-07-13 13:53:45 -0700
commit00f78ba0e23d8baa146b58d872e1a755abb5775b (patch)
treee1ed60a33fca294dcabe1a311931cd5ad49d41ee /test/core/security
parent7561b82fb4e53e77d227b3539594ce7908e30cac (diff)
parente456efac306ed0df13a1757dd6a072b9922aaaf2 (diff)
Merge github.com:grpc/grpc into write_completion
Diffstat (limited to 'test/core/security')
-rw-r--r--test/core/security/BUILD7
-rw-r--r--test/core/security/secure_endpoint_test.c6
2 files changed, 11 insertions, 2 deletions
diff --git a/test/core/security/BUILD b/test/core/security/BUILD
index 96127e1cd0..241ffc0591 100644
--- a/test/core/security/BUILD
+++ b/test/core/security/BUILD
@@ -16,6 +16,13 @@ load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_c
licenses(["notice"]) # Apache v2
+package(
+ features = [
+ "-layering_check",
+ "-parse_headers",
+ ],
+)
+
load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
grpc_fuzzer(
diff --git a/test/core/security/secure_endpoint_test.c b/test/core/security/secure_endpoint_test.c
index 7e6c0c782d..09846ba10e 100644
--- a/test/core/security/secure_endpoint_test.c
+++ b/test/core/security/secure_endpoint_test.c
@@ -38,8 +38,10 @@ static grpc_pollset *g_pollset;
static grpc_endpoint_test_fixture secure_endpoint_create_fixture_tcp_socketpair(
size_t slice_size, grpc_slice *leftover_slices, size_t leftover_nslices) {
grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
- tsi_frame_protector *fake_read_protector = tsi_create_fake_protector(NULL);
- tsi_frame_protector *fake_write_protector = tsi_create_fake_protector(NULL);
+ tsi_frame_protector *fake_read_protector =
+ tsi_create_fake_frame_protector(NULL);
+ tsi_frame_protector *fake_write_protector =
+ tsi_create_fake_frame_protector(NULL);
grpc_endpoint_test_fixture f;
grpc_endpoint_pair tcp;