aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/hostnames.vec
Commit message (Collapse)AuthorAgeFilesLines
* Fix bugs in wildcard matchingJack Lloyd2018-03-311-0/+70
| | | | | | | We would incorrectly accept invalid matches for example b*.example.net could match foobar.example.net Introduced in 289cc25709b08
* Complete wildcard handling for X.509 certificatesRené Korthaus2017-04-201-0/+66
Hostname validation is used to make sure the certificate hostname matches the hostname of the connected host. RFC 6125 allows one wildcard in the left-most label of a hostname. Up to now, we only supported only the wildcard as the left-most label, e.g., www.example.com would match *.example.com, but www.example.com would not match www*.example.com, although it is permitted. Also adds test vectors from RFC 6125 as well as the OpenSSL test suite.