After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673678 - Property SSL_USE_SYSTEM_CA_FILE's value is ignored
Property SSL_USE_SYSTEM_CA_FILE's value is ignored
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
2.38.x
Other Linux
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2012-04-07 04:11 UTC by bugjakob
Modified: 2012-04-10 17:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description bugjakob 2012-04-07 04:11:18 UTC
This property is documented to be a boolean that defaults to true.  Instead, it defaults to off and doesn't check the value passed when being set, so setting it to either true or false does the same thing, turning the behavior on.

From libsoup/soup-session.c, set_property:

        case PROP_SSL_USE_SYSTEM_CA_FILE:
                if (priv->tlsdb) {
                        g_object_unref (priv->tlsdb);
                        priv->tlsdb = NULL;
                }
                g_free (priv->ssl_ca_file);
                priv->ssl_ca_file = NULL;

                priv->tlsdb = g_tls_backend_get_default_database (g_tls_backend_get_default ());
                break;

(The "value" parameter isn't referenced at all)
Comment 1 Dan Winship 2012-04-10 17:33:37 UTC
Fixed in master, and will be in 2.38.1. Thanks.