From 004b57e9f67c6b818357759005c8e53b041dead4 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 18 Jul 2016 16:45:45 +0200 Subject: ArdourCurl: prepare to unify various curl calls mainly motivated by a central location to setup SSL. --- gtk2_ardour/bundle_env_linux.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gtk2_ardour/bundle_env_linux.cc') diff --git a/gtk2_ardour/bundle_env_linux.cc b/gtk2_ardour/bundle_env_linux.cc index e553213ec0..80830964b4 100644 --- a/gtk2_ardour/bundle_env_linux.cc +++ b/gtk2_ardour/bundle_env_linux.cc @@ -36,6 +36,7 @@ #include "pbd/pathexpand.h" #include "pbd/file_utils.h" +#include "ardour_http.h" #include "bundle_env.h" #include "pbd/i18n.h" @@ -110,11 +111,12 @@ fixup_bundle_environment (int /*argc*/, char* argv[], string & localedir) error << _("No fontconfig file found on your system. Things may looked very odd or ugly") << endmsg; } - /* this doesn't do much but setting it should prevent various parts of the GTK/GNU stack - from looking outside the bundle to find the charset.alias file. - */ - g_setenv ("CHARSETALIASDIR", dir_path.c_str(), 1); + /* this doesn't do much but setting it should prevent various parts of the GTK/GNU stack + from looking outside the bundle to find the charset.alias file. + */ + g_setenv ("CHARSETALIASDIR", dir_path.c_str(), 1); + ArdourCurl::HttpGet::setup_certificate_paths (); } void -- cgit v1.2.3