GNOME Bugzilla – Bug 704058
gnutls: allow proper use without GTLS_SYSTEM_CA_FILE specified
Last modified: 2018-03-21 00:45:41 UTC
If GTLS_SYSTEM_CA_FILE is not specified, glib-networking can not build the GTlsDatabase and consequently gives weird errors. Using gnutls, though, we want to be able to rely on gnutls entirely for the verification, so we just do not build our own database without an anchor defined.
Created attachment 248971 [details] [review] gnutls: allow proper use without GTLS_SYSTEM_CA_FILE specified
Comment on attachment 248971 [details] [review] gnutls: allow proper use without GTLS_SYSTEM_CA_FILE specified There always needs to be a default GTlsDatabase. You presumably want an alternative subclass of GTlsDatabaseGnutls that just calls gnutls_certificate_set_x509_system_trust()?
Seems obsolete