aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/tsi/transport_security.h
diff options
context:
space:
mode:
authorGravatar Jiangtao Li <jiangtao@google.com>2017-08-08 09:51:50 -0700
committerGravatar GitHub <noreply@github.com>2017-08-08 09:51:50 -0700
commit56bb36615a925228ff277184697f0a54a1e1a8b4 (patch)
treef867ef84a1f4ab080cc54d1cd83a1be00fbd2ee7 /src/core/tsi/transport_security.h
parent29945157f07a577bdc1b40ae2973dce30b65ab02 (diff)
parent2f94a262ee8a75b2ad595d6f7e8b37bc8c649ea7 (diff)
Merge pull request #12115 from jiangtaoli2016/next_bytes_to_send
Make bytes_to_send in tsi_handshaker_next const
Diffstat (limited to 'src/core/tsi/transport_security.h')
-rw-r--r--src/core/tsi/transport_security.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/tsi/transport_security.h b/src/core/tsi/transport_security.h
index 2c7db6bca9..cb64c9706a 100644
--- a/src/core/tsi/transport_security.h
+++ b/src/core/tsi/transport_security.h
@@ -70,7 +70,8 @@ typedef struct {
tsi_frame_protector **protector);
void (*destroy)(tsi_handshaker *self);
tsi_result (*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);