gnutls: handle IP address in cert name check
authorDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 14 Jul 2014 18:04:55 +0000 (20:04 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 14 Jul 2014 18:14:15 +0000 (20:14 +0200)
commit98866008a98da437998f72d38be06495cf91d319
tree7c08951f9b502090284c1c4b8482256dbd30790a
parent08c8d5b89a24531addff8674fe241be7cf17b31d
gnutls: handle IP address in cert name check

Before GnuTLS 3.3.6, the gnutls_x509_crt_check_hostname() function
didn't actually check IP addresses in SubjectAltName, even though it was
explicitly documented as doing so. So do it ourselves...
lib/vtls/gtls.c