diff options
Diffstat (limited to 'lib/x509/rfc2818_hostname.c')
-rw-r--r-- | lib/x509/rfc2818_hostname.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/x509/rfc2818_hostname.c b/lib/x509/rfc2818_hostname.c index ca066cd737..45cc90bb17 100644 --- a/lib/x509/rfc2818_hostname.c +++ b/lib/x509/rfc2818_hostname.c @@ -81,9 +81,9 @@ gnutls_x509_crt_check_hostname (gnutls_x509_crt_t cert, const char *hostname) } else if (ret == GNUTLS_SAN_IPADDRESS) { - found_dnsname = 1; /* RFC 2818 is unclear whether the CN - should be compared for IP addresses - too, but we won't do it. */ + found_dnsname = 1; /* RFC 2818 is unclear whether the CN + should be compared for IP addresses + too, but we won't do it. */ if (_gnutls_hostname_compare (dnsname, hostname)) { return 1; |