GNOME Bugzilla – Bug 573142
can't depend on gnutls
Last modified: 2012-01-22 05:34:09 UTC
glib depending on gnutls? what are you thinking?! investigate GIOModule.
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.
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
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.
It seems to work now.
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 ***