diff options
-rw-r--r-- | libmateweather/weather.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libmateweather/weather.c b/libmateweather/weather.c index 50b7f8b..5b7bbe4 100644 --- a/libmateweather/weather.c +++ b/libmateweather/weather.c @@ -553,8 +553,9 @@ _weather_info_fill (WeatherInfo *info, info->cb_data = data; if (!info->session) { - info->session = soup_session_async_new (); - soup_session_add_feature_by_type (info->session, SOUP_TYPE_PROXY_RESOLVER_DEFAULT); + info->session = soup_session_async_new (); + soup_session_add_feature_by_type (info->session, SOUP_TYPE_PROXY_RESOLVER_DEFAULT); + g_object_set (G_OBJECT (info->session), "ssl-use-system-ca-file", TRUE, NULL); } metar_start_open (info); |