]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Clarify gnutls_server_name_set usage.
authorSimon Josefsson <simon@josefsson.org>
Wed, 23 Sep 2009 15:46:06 +0000 (17:46 +0200)
committerSimon Josefsson <simon@josefsson.org>
Wed, 23 Sep 2009 15:46:06 +0000 (17:46 +0200)
Reported by Daniel Black <daniel@cacert.org> in
<http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3878>.

lib/ext_server_name.c

index 69413ae9c970de91878143a7ac2d511f44277584..1b8513a73fb90223c4f0739673e131e675b828ee 100644 (file)
@@ -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.