summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/x509/rfc2818_hostname.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/x509/rfc2818_hostname.c b/lib/x509/rfc2818_hostname.c
index 29f1cacd6f..5fb7535961 100644
--- a/lib/x509/rfc2818_hostname.c
+++ b/lib/x509/rfc2818_hostname.c
@@ -82,6 +82,8 @@ check_ip(gnutls_x509_crt_t cert, const void *ip, unsigned ip_size)
* Wildcards are only considered if the domain name consists of three
* components or more.
*
+ * The IPv4/v6 address comparison is since GnuTLS 3.2.16.
+ *
* Returns: non-zero for a successful match, and zero on failure.
**/
int