Use nsws_find_resource to find ca-bundle.crt

Daniel Silverstone dsilvers at netsurf-browser.org
Fri Jul 28 09:50:30 BST 2017


On Thu, Jul 27, 2017 at 21:06:21 +0000, James Woodcock wrote:
> I cross compiled the Windows version of NetSurf on Linux and ran it under
> Wine.  It failed to find the ca-bundle.crt file.
> 
> I think nsws_find_resource() should be used to find the file instead of the
> Windows SearchPathA() API so that NetSurf will look in the NetSurf resources
> directory.

That sounds sensible.

> I have attached a patch, which should do the trick.

Unfortunately it turned up mangled.  Can you please ensure you attach it rather than paste it in?

D.


-- 
Daniel Silverstone                       http://www.netsurf-browser.org/
PGP mail accepted and encouraged.            Key Id: 3CCE BABE 206C 3B69



More information about the netsurf-dev mailing list