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 573142 - can't depend on gnutls
can't depend on gnutls
Status: RESOLVED DUPLICATE of bug 588189
Product: glib
Classification: Platform
Component: network
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2009-02-25 16:34 UTC by Allison Karlitskaya (desrt)
Modified: 2012-01-22 05:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allison Karlitskaya (desrt) 2009-02-25 16:34:21 UTC
glib depending on gnutls?  what are you thinking?!

investigate GIOModule.
Comment 1 Maciej (Matthew) Piechotka 2009-02-27 16:20:43 UTC
This is somehow described in bug #573029. If there was a vtable glib could depend on openssl, gnutls or nss - tring them, for example, one by one in order determined by the variable.
Comment 2 Maciej (Matthew) Piechotka 2009-03-21 07:36:17 UTC
I'm preparing someting to deal with it. However those are a few ideas:
- 1) Check if at least one 'tls' backend is not loaded - if yes choose one and exit 2) Load a backed from pre-defined list containing TLS backends 3) Fail
- 1) Check the env. variable 2) Check if type described in variable is implementing interface 3) If not get the next type from env. variable and goto 2
Comment 3 Maciej (Matthew) Piechotka 2009-03-28 00:54:35 UTC
Ok. I published some code in branch (web interface: http://github.com/uzytkownik/gnio/tree/tls-loading-dynamic, git: git://github.com/uzytkownik/gnio.git branch tls-loading-dynamic). Please note that I hadn't time to test it.
Comment 4 Maciej (Matthew) Piechotka 2009-04-04 08:20:07 UTC
It seems to work now.
Comment 5 Dan Winship 2009-12-19 11:19:26 UTC
duping to the current gsocket tls bug, which separates out the generic interfaces from the gnutls-specific bits, though we still haven't figured out for sure where hte gnutls-specific bits are going to live.

*** This bug has been marked as a duplicate of bug 588189 ***