summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ext/server_name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext/server_name.c b/lib/ext/server_name.c
index 2395b461af..b2e1286e0e 100644
--- a/lib/ext/server_name.c
+++ b/lib/ext/server_name.c
@@ -341,7 +341,7 @@ _gnutls_server_name_set_raw(gnutls_session_t session,
* @session: is a #gnutls_session_t type.
* @type: specifies the indicator type
* @name: is a string that contains the server name.
- * @name_length: holds the length of name
+ * @name_length: holds the length of name excluding the terminating null byte
*
* This function is to be used by clients that want to inform (via a
* TLS extension mechanism) the server of the name they connected to.