From 695af237a9fd679ccd4467ffb9798966a431bb9d Mon Sep 17 00:00:00 2001 From: Chris Young Date: Thu, 22 Apr 2010 18:33:29 +0000 Subject: Use our ca-bundle by default, rather than one in devs: which may not exist svn path=/trunk/netsurf/; revision=10456 --- amiga/gui.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/amiga/gui.c b/amiga/gui.c index a5d696c36..00290d5f2 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -334,8 +334,11 @@ void ami_set_options(void) option_cookie_jar = (char *)strdup("PROGDIR:Resources/CookieJar"); */ +/* devs:curl-ca-bundle.crt is the default place for the ca bundle on OS4, + * but we can't rely on it existing, so default to our local one in resources */ + if((!option_ca_bundle) || (option_ca_bundle[0] == '\0')) - option_ca_bundle = (char *)strdup("devs:curl-ca-bundle.crt"); + option_ca_bundle = (char *)strdup("PROGDIR:Resources/ca-bundle"); if((!option_search_engines_file) || (option_search_engines_file[0] == '\0')) option_search_engines_file = (char *)strdup("PROGDIR:Resources/SearchEngines"); -- cgit v1.2.3