diff options
author | 2017-08-08 09:51:50 -0700 | |
---|---|---|
committer | 2017-08-08 09:51:50 -0700 | |
commit | 56bb36615a925228ff277184697f0a54a1e1a8b4 (patch) | |
tree | f867ef84a1f4ab080cc54d1cd83a1be00fbd2ee7 /src/core/tsi/transport_security.h | |
parent | 29945157f07a577bdc1b40ae2973dce30b65ab02 (diff) | |
parent | 2f94a262ee8a75b2ad595d6f7e8b37bc8c649ea7 (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.h | 3 |
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); |