diff options
author | Anna Sapek <asapek@google.com> | 2017-05-30 14:21:44 -0700 |
---|---|---|
committer | Anna Sapek <asapek@google.com> | 2017-07-11 14:05:11 -0700 |
commit | 4318df0571de857025c10e6d6c3ba46ceef8126e (patch) | |
tree | 5ee9396bb4a45dbfb14cf78fbf7ce1b55e4dee42 /test | |
parent | 4ff23545807802f177b2e90c4c4517d8c2cb224e (diff) |
Update tsi_fake_handshaker to implement the asynchronous TSI
Diffstat (limited to 'test')
-rw-r--r-- | test/core/security/secure_endpoint_test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/core/security/secure_endpoint_test.c b/test/core/security/secure_endpoint_test.c index cd6ff2ceac..9e5d034e1e 100644 --- a/test/core/security/secure_endpoint_test.c +++ b/test/core/security/secure_endpoint_test.c @@ -53,8 +53,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; |