summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Klute <thomas2.klute@uni-dortmund.de>2017-10-18 19:50:57 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-10-19 10:01:20 +0200
commitb44ef7f050c354c3375b19699b71e01a084e3161 (patch)
tree1f738bd78c7a1b7b260f4ffa1c9f93f9342c1ef4
parent677561ea7ac19cb7a45ddc586be22604ca8da879 (diff)
downloadgnutls-b44ef7f050c354c3375b19699b71e01a084e3161.tar.gz
gnutls_server_name_set: Clarify meaning of the name_length parameter [ci skip]
Signed-off-by: Thomas Klute <thomas2.klute@uni-dortmund.de>
-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.