summaryrefslogtreecommitdiff
path: root/lib/ext/heartbeat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ext/heartbeat.c')
-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.