aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/tsi/fake_transport_security.c
diff options
context:
space:
mode:
authorGravatar jiangtaoli2016 <jiangtao@google.com>2017-08-07 22:07:17 -0700
committerGravatar jiangtaoli2016 <jiangtao@google.com>2017-08-07 22:07:17 -0700
commit2f94a262ee8a75b2ad595d6f7e8b37bc8c649ea7 (patch)
treef867ef84a1f4ab080cc54d1cd83a1be00fbd2ee7 /src/core/tsi/fake_transport_security.c
parent29945157f07a577bdc1b40ae2973dce30b65ab02 (diff)
Make bytes_to_send in tsi_handshaker_next const
Diffstat (limited to 'src/core/tsi/fake_transport_security.c')
-rw-r--r--src/core/tsi/fake_transport_security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/tsi/fake_transport_security.c b/src/core/tsi/fake_transport_security.c
index 810447313c..9096271c9d 100644
--- a/src/core/tsi/fake_transport_security.c
+++ b/src/core/tsi/fake_transport_security.c
@@ -530,7 +530,7 @@ static void fake_handshaker_destroy(tsi_handshaker *self) {
static tsi_result fake_handshaker_next(
tsi_handshaker *self, const unsigned char *received_bytes,
- size_t received_bytes_size, unsigned char **bytes_to_send,
+ size_t received_bytes_size, const unsigned char **bytes_to_send,
size_t *bytes_to_send_size, tsi_handshaker_result **handshaker_result,
tsi_handshaker_on_next_done_cb cb, void *user_data) {
/* Sanity check the arguments. */