mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Call curl_global_init() exactly only once (1/2)
This commit is contained in:
parent
720292696a
commit
e544934780
3 changed files with 7 additions and 4 deletions
|
|
@ -59,8 +59,6 @@ HttpGet::setup_certificate_paths ()
|
|||
*/
|
||||
assert (!ca_path && !ca_info); // call once
|
||||
|
||||
curl_global_init (CURL_GLOBAL_DEFAULT);
|
||||
|
||||
if (Glib::file_test ("/etc/pki/tls/certs/ca-bundle.crt", Glib::FILE_TEST_EXISTS|Glib::FILE_TEST_IS_REGULAR)) {
|
||||
// Fedora / RHEL, Arch
|
||||
ca_info = "/etc/pki/tls/certs/ca-bundle.crt";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue