Skip to content

Commit

Permalink
Merge branch 'master' into 'master'
Browse files Browse the repository at this point in the history
Fix CVE-2021-39359 by forcing TLS certificate validation

Closes #249

See merge request GNOME/libgda!189
  • Loading branch information
esodan committed Oct 20, 2021
2 parents f590438 + bebdffb commit bd7b956
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/web/gda-web-provider.c
Expand Up @@ -355,8 +355,8 @@ gda_web_provider_open_connection (GdaServerProvider *provider, GdaConnection *cn
g_rec_mutex_init (& (cdata->mutex));
cdata->server_id = NULL;
cdata->forced_closing = FALSE;
cdata->worker_session = soup_session_new ();
cdata->front_session = soup_session_new_with_options ("max-conns-per-host", 1, NULL);
cdata->worker_session = soup_session_new_with_options ("ssl-use-system-ca-file", TRUE, NULL);
cdata->front_session = soup_session_new_with_options ("max-conns-per-host", 1, "ssl-use-system-ca-file", TRUE, NULL);
if (use_ssl) {
server_url = g_string_new ("https://");
g_print ("USING SSL\n");
Expand Down

0 comments on commit bd7b956

Please sign in to comment.