From: Simon Josefsson Date: Wed, 23 Sep 2009 15:46:06 +0000 (+0200) Subject: Clarify gnutls_server_name_set usage. X-Git-Tag: gnutls_2_9_7~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=17edc60deccccfd93a1290e27f8643b68a6c2dda;p=thirdparty%2Fgnutls.git Clarify gnutls_server_name_set usage. Reported by Daniel Black in . --- diff --git a/lib/ext_server_name.c b/lib/ext_server_name.c index 69413ae9c9..1b8513a73f 100644 --- a/lib/ext_server_name.c +++ b/lib/ext_server_name.c @@ -307,10 +307,10 @@ gnutls_server_name_get (gnutls_session_t session, void *data, * This should be used by clients that connect to servers that do * virtual hosting. * - * The value of @name depends on the @ind type. In case of - * GNUTLS_NAME_DNS, an ASCII or UTF-8 null terminated string, without - * the trailing dot, is expected. IPv4 or IPv6 addresses are not - * permitted. + * The value of @name depends on the @type type. In case of + * %GNUTLS_NAME_DNS, an ASCII zero-terminated domain name string, + * without the trailing dot, is expected. IPv4 or IPv6 addresses are + * not permitted. * * Returns: On success, %GNUTLS_E_SUCCESS (zero) is returned, * otherwise an error code is returned.