summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-05-12 10:37:56 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-05-12 10:38:03 +0200
commitf1765c937c023de96d99f7ae143fb2d3058b8fb0 (patch)
tree96eebb174d1798abe04bf2bb7aea70cc41b7c881
parent9258cff0e8b7acb31789492ab637e576390400dc (diff)
downloadgnutls-f1765c937c023de96d99f7ae143fb2d3058b8fb0.tar.gz
gnutls_server_name_get: mention GNUTLS_E_IDNA_ERROR being returned
-rw-r--r--lib/ext/server_name.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ext/server_name.c b/lib/ext/server_name.c
index e9cb8e8610..25f714b85f 100644
--- a/lib/ext/server_name.c
+++ b/lib/ext/server_name.c
@@ -276,8 +276,9 @@ _gnutls_server_name_send_params(gnutls_session_t session,
* and so on. If no name with the given index exists
* GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE is returned.
*
- * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
- * otherwise a negative error code is returned.
+ * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, on UTF-8
+ * decoding error %GNUTLS_E_IDNA_ERROR is returned, otherwise a negative
+ * error code is returned.
**/
int
gnutls_server_name_get(gnutls_session_t session, void *data,