gnutls-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU gnutls branch, master, updated. gnutls_2_99_0-71-gbd6b213


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_2_99_0-71-gbd6b213
Date: Thu, 21 Apr 2011 16:52:33 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=bd6b213e7f1d5ab9c621ee4ee95caef2c242d33c

The branch, master has been updated
       via  bd6b213e7f1d5ab9c621ee4ee95caef2c242d33c (commit)
      from  6e4e6b0aa30acc8db68fcc19a9406abcfe44ae9c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bd6b213e7f1d5ab9c621ee4ee95caef2c242d33c
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Thu Apr 21 18:51:56 2011 +0200

    gnutls_x509_crt_check_hostname() will never compare against IPaddress.
    (previous comparison was flawed)

-----------------------------------------------------------------------

Summary of changes:
 lib/x509/rfc2818_hostname.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/lib/x509/rfc2818_hostname.c b/lib/x509/rfc2818_hostname.c
index 676be34..46606fd 100644
--- a/lib/x509/rfc2818_hostname.c
+++ b/lib/x509/rfc2818_hostname.c
@@ -80,16 +80,6 @@ gnutls_x509_crt_check_hostname (gnutls_x509_crt_t cert, 
const char *hostname)
               return 1;
             }
         }
-      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.  */
-          if (_gnutls_hostname_compare (dnsname, dnsnamesize, hostname))
-            {
-              return 1;
-            }
-        }
     }
 
   if (!found_dnsname)


hooks/post-receive
-- 
GNU gnutls



reply via email to

[Prev in Thread] Current Thread [Next in Thread]