Add support for ca_path to GTK startup

svn path=/trunk/netsurf/; revision=3370
This commit is contained in:
Daniel Silverstone 2007-06-27 15:43:51 +00:00
parent e91cfc8e47
commit 2c27a6ad55
1 changed files with 7 additions and 1 deletions

View File

@ -210,7 +210,13 @@ void gui_init(int argc, char** argv)
LOG(("Using '%s' as URL file", buf));
option_url_file = strdup(buf);
}
if (!option_ca_path) {
find_resource(buf, "certs", "/etc/ssl/certs");
LOG(("Using '%s' as certificate path", buf));
option_ca_path = strdup(buf);
}
find_resource(buf, "messages", "./gtk/res/messages");
LOG(("Using '%s' as Messages file", buf));
messages_load(buf);