summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-11-20 16:52:58 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-12-04 13:05:03 +0100
commitac2c7a0389b8daa4580e0e066c16af89c73c44f9 (patch)
tree9dff94913dabde41c1fa461f2ea1c5937d890a66
parent7b84ba9d8d04ba1d240f0549259d3657803d0065 (diff)
downloadgnutls-ac2c7a0389b8daa4580e0e066c16af89c73c44f9.tar.gz
gnutls_record_get_state: doc update
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--lib/state.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/state.c b/lib/state.c
index 6a089ff6be..6714e0fb7a 100644
--- a/lib/state.c
+++ b/lib/state.c
@@ -1162,9 +1162,10 @@ gnutls_handshake_set_hook_function(gnutls_session_t session,
*
* This function will return the parameters of the current record state.
* These are only useful to be provided to an external off-loading device
- * or subsystem.
+ * or subsystem. The returned values should be considered constant
+ * and valid for the lifetime of the session.
*
- * In that case, to sync the state you must call gnutls_record_set_state().
+ * In that case, to sync the state back you must call gnutls_record_set_state().
*
* Returns: %GNUTLS_E_SUCCESS on success, or an error code.
*