Author: dsilvers
Date: Wed Jun 27 16:39:56 2007
New Revision: 3369
URL:
http://svn.semichrome.net?rev=3D3369&view=3Drev
Log:
Add ca_path option which sets CURLOPT_CAPATH.
Modified:
trunk/netsurf/content/fetchers/fetch_curl.c
trunk/netsurf/desktop/options.c
trunk/netsurf/desktop/options.h
Modified: trunk/netsurf/content/fetchers/fetch_curl.c
URL:
http://svn.semichrome.net/trunk/netsurf/content/fetchers/fetch_curl.c?=
rev=3D3369&r1=3D3368&r2=3D3369&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/netsurf/content/fetchers/fetch_curl.c (original)
+++ trunk/netsurf/content/fetchers/fetch_curl.c Wed Jun 27 16:39:56 2007
@@ -1344,6 +1344,8 @@
=
if (option_ca_bundle)
SETOPT(CURLOPT_CAINFO, option_ca_bundle);
+ if (option_ca_path)
+ SETOPT(CURLOPT_CAPATH, option_ca_path);
=
/* cURL initialised okay, register the fetchers */
=
Modified: trunk/netsurf/desktop/options.c
URL:
http://svn.semichrome.net/trunk/netsurf/desktop/options.c?rev=3D3369&r=
1=3D3368&r2=3D3369&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/netsurf/desktop/options.c (original)
+++ trunk/netsurf/desktop/options.c Wed Jun 27 16:39:56 2007
@@ -87,6 +87,8 @@
int option_font_default =3D CSS_FONT_FAMILY_SANS_SERIF;
/** ca-bundle location */
char *option_ca_bundle =3D 0;
+/** ca-path location */
+char *option_ca_path =3D 0;
/** Cookie file location */
char *option_cookie_file =3D 0;
/** Cookie jar loaction */
@@ -161,6 +163,7 @@
{ "expire_url", OPTION_INTEGER, &option_expire_url },
{ "font_default", OPTION_INTEGER, &option_font_default },
{ "ca_bundle", OPTION_STRING, &option_ca_bundle },
+ { "ca_path", OPTION_STRING, &option_ca_path },
{ "cookie_file", OPTION_STRING, &option_cookie_file },
{ "cookie_jar", OPTION_STRING, &option_cookie_jar },
{ "homepage_url", OPTION_STRING, &option_homepage_url },
Modified: trunk/netsurf/desktop/options.h
URL:
http://svn.semichrome.net/trunk/netsurf/desktop/options.h?rev=3D3369&r=
1=3D3368&r2=3D3369&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/netsurf/desktop/options.h (original)
+++ trunk/netsurf/desktop/options.h Wed Jun 27 16:39:56 2007
@@ -55,6 +55,7 @@
extern char *option_font_cursive;
extern char *option_font_fantasy;
extern char *option_ca_bundle;
+extern char *option_ca_path;
extern char *option_cookie_file;
extern char *option_cookie_jar;
extern char *option_homepage_url;