Updated other implementations of zero copy protector.

pull/20359/head
Ashitha Santhosh 5 years ago
parent 8695c464dc
commit 4f46b0565d
  1. 1
      src/core/tsi/fake_transport_security.cc
  2. 3
      src/core/tsi/local_transport_security.cc

@ -483,6 +483,7 @@ static const tsi_zero_copy_grpc_protector_vtable
fake_zero_copy_grpc_protector_protect,
fake_zero_copy_grpc_protector_unprotect,
fake_zero_copy_grpc_protector_destroy,
nullptr /* fake_zero_copy_grpc_protector_max_frame_size */
};
/* --- tsi_handshaker_result methods implementation. ---*/

@ -84,7 +84,8 @@ static const tsi_zero_copy_grpc_protector_vtable
local_zero_copy_grpc_protector_vtable = {
local_zero_copy_grpc_protector_protect,
local_zero_copy_grpc_protector_unprotect,
local_zero_copy_grpc_protector_destroy};
local_zero_copy_grpc_protector_destroy,
nullptr /* local_zero_copy_grpc_protector_max_frame_size */};
tsi_result local_zero_copy_grpc_protector_create(
tsi_zero_copy_grpc_protector** protector) {

Loading…
Cancel
Save