summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-04-10 15:42:12 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-04-10 15:42:41 +0200
commit542f0edf9c96effad0f4d40dc9d13bbecd96b378 (patch)
tree4f5812157424198a34585bae39a37c1cc7f5ab60
parentf9c017789b1ae101c3b3bbb676811e3dbf491cfa (diff)
downloadgnutls-542f0edf9c96effad0f4d40dc9d13bbecd96b378.tar.gz
doc update
-rw-r--r--lib/x509/rfc2818_hostname.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/x509/rfc2818_hostname.c b/lib/x509/rfc2818_hostname.c
index 2236052a9d..814114f0c4 100644
--- a/lib/x509/rfc2818_hostname.c
+++ b/lib/x509/rfc2818_hostname.c
@@ -64,9 +64,10 @@ gnutls_x509_crt_check_hostname(gnutls_x509_crt_t cert,
* The comparison may have false-negatives as it is done byte by byte in
* non-ascii names.
*
- * Unless, the flag %GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS is specified,
- * wildcards are only considered if the domain name consists of three
- * components or more, and the wildcard starts at the leftmost position.
+ * When the flag %GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS is specified no
+ * wildcards are considered. Otherwise they are only considered if the
+ * domain name consists of three components or more, and the wildcard
+ * starts at the leftmost position.
*
* Returns: non-zero for a successful match, and zero on failure.
**/