From f925dd675e38ebe5d7f86e1bd176223fdde422ea Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 20 May 2022 21:42:37 +0200 Subject: [PATCH] Setup Freesound certificates for bundled builds --- gtk2_ardour/sfdb_freesound_mootcher.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk2_ardour/sfdb_freesound_mootcher.cc b/gtk2_ardour/sfdb_freesound_mootcher.cc index 12ee14d63c..cf15f24d60 100644 --- a/gtk2_ardour/sfdb_freesound_mootcher.cc +++ b/gtk2_ardour/sfdb_freesound_mootcher.cc @@ -59,6 +59,7 @@ #include "widgets/prompter.h" #include "ardour_dialog.h" +#include "ardour_http.h" #include "sfdb_freesound_mootcher.h" #include "gui_thread.h" #include "ui_config.h" @@ -175,6 +176,9 @@ void Mootcher::setcUrlOptions() // Allow connections to time out (without using signals) curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1); curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 30); + + /* set ca-certificates to use for bundled versions of ardour */ + ArdourCurl::HttpGet::ca_setopt (curl); } std::string Mootcher::doRequest(std::string uri, std::string params)