wget-1.12 has no SNI support, but there is a patch (actually for 1.11something, but I modified it a bit) Reproducible: Always Steps to Reproduce: wget https://subdomain.domain.tld/ Actual Results: ERROR: certificate common name “domain.tld” doesn’t match requested host name “subdomain.domain.tld”. To connect to subdomain.domain.tld insecurely, use ‘--no-check-certificate’. Expected Results: 2010-01-17 22:06:28 (29.4 MB/s) - “index.html” saved [1264/1264]
Created attachment 216763 [details, diff] wget-1.12-sni.patch
Created attachment 216764 [details] wget-1.12-r1 ebuild
when you take patches from other places, you need to document the source in the patch itself. you can see that here: http://sources.gentoo.org/net-misc/wget/files/wget-1.12-sni.patch?rev=1.1 you also shouldnt post complete ebuilds -- just a unified diff. makes it hard (useless) for developers to see what you actually changed. wget-1.12-r1 now in the tree with that patch
thank you for the pointers i honestly forgot to mention the source, whilst planing on doing so. did you include the source now? your link only returns a 404 =( well here it is: http://www.mail-archive.com/bug-wget@gnu.org/msg00263.html
the public viewcvs is behind the real cvs. wait a bit and check again.
This piece of code looks suspicious: +bool +is_ip_address (const char *name) +{ + const char *endp; + + endp = name + strlen(name); + if (is_valid_ipv4_address(name, endp)) + return true; +#ifdef ENABLE_IPV6 + if (is_valid_ipv4_address(name, endp)) + return true; +#endif + return false; +} Uses 'is_valid_ipv4_address(name, endp)' twice. Is it normal?
Reopening as there is 'is_valid_ipv6_address' guarded by #ifdef. Seems, it was the real intention.
please file a new bug