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 704058 - gnutls: allow proper use without GTLS_SYSTEM_CA_FILE specified
gnutls: allow proper use without GTLS_SYSTEM_CA_FILE specified
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: network
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-07-11 21:20 UTC by Dominique Leuenberger
Modified: 2018-03-21 00:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnutls: allow proper use without GTLS_SYSTEM_CA_FILE specified (1.52 KB, patch)
2013-07-11 21:20 UTC, Dominique Leuenberger
needs-work Details | Review

Description Dominique Leuenberger 2013-07-11 21:20:52 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.
Comment 1 Dominique Leuenberger 2013-07-11 21:20:54 UTC
Created attachment 248971 [details] [review]
gnutls: allow proper use without GTLS_SYSTEM_CA_FILE specified
Comment 2 Dan Winship 2013-08-19 17:46:46 UTC
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()?
Comment 3 Michael Catanzaro 2018-03-21 00:45:41 UTC
Seems obsolete