aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Julien Boeuf <jboeuf@google.com>2015-08-10 12:55:58 -0700
committerGravatar Julien Boeuf <jboeuf@google.com>2015-08-10 12:55:58 -0700
commitf8b4b98669861115c8a9f662eb09a49de5fc74a4 (patch)
treef11c8cfb0e9747369abca0f2e42af037fe01af9c /src
parent295224605f65fdbdf29d1aebe53b5039b1752996 (diff)
Improving unprotect doc.
Diffstat (limited to 'src')
-rw-r--r--src/core/tsi/transport_security_interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/tsi/transport_security_interface.h b/src/core/tsi/transport_security_interface.h
index 936b0c25b0..e27e6b9fc9 100644
--- a/src/core/tsi/transport_security_interface.h
+++ b/src/core/tsi/transport_security_interface.h
@@ -158,6 +158,8 @@ tsi_result tsi_frame_protector_protect_flush(
value is expected to be at most max_protected_frame_size minus overhead
which means that max_protected_frame_size is a safe bet. The output value
is the number of bytes actually written.
+ If *unprotected_bytes_size is unchanged, there may be more data remaining
+ to unprotect, and the caller should call this function again.
- This method returns TSI_OK in case of success. Success includes cases where
there is not enough data to output a frame in which case