summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-31 17:06:16 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-31 17:06:16 +0100
commit3744ae93e3b41b2389a9af453e9c8e8c5e3ac5f2 (patch)
tree5c6d9a0b042e8461c5cb71ca74652473b2cbd5c8
parentbe67c7d260113f39f4c4a3adbd2769246b8a72d8 (diff)
downloadgnutls-3744ae93e3b41b2389a9af453e9c8e8c5e3ac5f2.tar.gz
doc update [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--lib/ext/heartbeat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ext/heartbeat.c b/lib/ext/heartbeat.c
index ac113b8e25..930d35026b 100644
--- a/lib/ext/heartbeat.c
+++ b/lib/ext/heartbeat.c
@@ -40,7 +40,8 @@
*
* If this function is called with the %GNUTLS_HB_PEER_ALLOWED_TO_SEND
* @type, GnuTLS will allow heartbeat messages to be received. Moreover it also
- * request the peer to accept heartbeat messages.
+ * request the peer to accept heartbeat messages. This function
+ * must be called prior to TLS handshake.
*
* If the @type used is %GNUTLS_HB_LOCAL_ALLOWED_TO_SEND, then the peer
* will be asked to accept heartbeat messages but not send ones.