mirror of
https://github.com/curl/curl.git
synced 2026-08-08 23:54:18 +03:00
hostcheck: fix host name wildcard checking
The leftmost "label" of the host name can now only match against single '*'. Like the browsers have worked for a long time. - extended unit test 1397 for this - move some SOURCE variables from unit/Makefile.am to unit/Makefile.inc Reported-by: Hiroki Kurosawa Closes #11018
This commit is contained in:
parent
a4aebd73e2
commit
199f2d440d
5 changed files with 206 additions and 184 deletions
|
|
@ -2,8 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
unittest
|
||||
ssl
|
||||
wildcard
|
||||
Curl_cert_hostcheck
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
@ -16,9 +15,8 @@ none
|
|||
<features>
|
||||
unittest
|
||||
</features>
|
||||
<name>
|
||||
Check wildcard certificate matching function Curl_cert_hostcheck
|
||||
</name>
|
||||
<name>
|
||||
Curl_cert_hostcheck unit tests
|
||||
</name>
|
||||
</client>
|
||||
|
||||
</testcase>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue